aboutsummaryrefslogtreecommitdiffstats
path: root/lib/showdown/index.js
diff options
context:
space:
mode:
authorMisko Hevery2010-11-04 17:41:14 -0700
committerMisko Hevery2010-11-05 13:32:37 -0700
commit3d6a099d6e40f1e12f6349843218987d472d0f3c (patch)
tree5adf8b44fb57767ab6fcb3a046b3e421217dfdb2 /lib/showdown/index.js
parent8767e766d13b7d3a1e3b6b06f3030c843d3b19ba (diff)
downloadangular.js-3d6a099d6e40f1e12f6349843218987d472d0f3c.tar.bz2
changed to showdown from markup. added validator overview
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;