summaryrefslogtreecommitdiff
path: root/js/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'js/markdown')
-rwxr-xr-xjs/markdown15
1 files changed, 0 insertions, 15 deletions
diff --git a/js/markdown b/js/markdown
deleted file mode 100755
index 2b23d54..0000000
--- a/js/markdown
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env node
-var fs = require('fs');
-var util = require('util');
-var stmd = require('./stmd');
-
-file = process.argv[2] || '/dev/stdin';
-
-fs.readFile(file, 'utf8', function(err, data) {
- if (err) {
- return console.log(err);
- }
- var parser = new stmd.DocParser();
- var renderer = new stmd.HtmlRenderer();
- process.stdout.write(renderer.render(parser.parse(data)));
-});