Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

script for previewing formatted README

  • Loading branch information...
commit 26fcf280132fcacaaa12214a539f2608b9a22ed0 1 parent aea2c43
Jeremy Bornstein authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 testdoc.js
View
7 testdoc.js
@@ -0,0 +1,7 @@
+#!/usr/bin/env node
+
+var ghm = require("github-flavored-markdown")
+var fs = require('fs')
+var md = fs.readFileSync('README.md','utf8')
+var html = ghm.parse(md)
+fs.writeFileSync('readme.html',html)
Please sign in to comment.
Something went wrong with that request. Please try again.