- Commit
- 9c1419c5ef8c1033ca0a39d7b23733669d990efd
- Parent
- f5a456175cfde7bad10fad96e9fa17d357c8244a
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Merge pull request #65 from yamadapc/master
Fix the output of the JS `markdown` executable.
My personal build of CMark ✏️
Merge pull request #65 from yamadapc/master
Fix the output of the JS `markdown` executable.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | js/markdown | 2 | 1 | 1 |
diff --git a/js/markdown b/js/markdown @@ -11,5 +11,5 @@ fs.readFile(file, 'utf8', function(err, data) { } var parser = new stmd.DocParser(); var renderer = new stmd.HtmlRenderer(); - console.log(renderer.render(parser.parse(data))); + process.stdout.write(renderer.render(parser.parse(data))); });