aboutsummaryrefslogtreecommitdiffstats
path: root/lib/showdown/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/showdown/index.js')
-rw-r--r--lib/showdown/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/showdown/index.js b/lib/showdown/index.js
new file mode 100644
index 00000000..59a97233
--- /dev/null
+++ b/lib/showdown/index.js
@@ -0,0 +1,6 @@
+var fs = require('fs');
+
+var filename = __dirname + '/showdown-0.9.js';
+var src = fs.readFileSync(filename);
+var Showdown = process.compile(src + '\nShowdown;', filename);
+exports.Showdown = Showdown;