diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-09-06 19:43:10 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-09-06 19:43:10 -0700 |
commit | 9c1419c5ef8c1033ca0a39d7b23733669d990efd (patch) | |
tree | 0868ff13865023013f555eb3efd61d379cf97f25 | |
parent | f5a456175cfde7bad10fad96e9fa17d357c8244a (diff) | |
parent | 4d9b2de5f87bb1dad1a9a061d87f62b332a45dc4 (diff) |
Merge pull request #65 from yamadapc/master
Fix the output of the JS `markdown` executable.
-rwxr-xr-x | js/markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/markdown b/js/markdown index 05a372a..2b23d54 100755 --- 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))); }); |