middleware for serving markdown files as rendered HTML
middleware for serving markdown files as rendered HTML. It makes an effort to render a closely as possible to the style of github but stops short of actually using githubs API to keep performance snappy.
$ npm install markdown-middleware --save
then in your app:
var markdown = require'markdown-middleware'
just make sure you
use it before static or similar middleware
appusemarkdown// files will be looked for relative to// to this pathdirectory: __dirname + '/public'
$ make test