0.0.2 • Published 10 years ago

md-middleware v0.0.2

Weekly downloads
11
License
-
Repository
github
Last release
10 years ago

md-middleware

  • You'll love using markdown again! *
app.use('/blog', markdown({
    extend: function (req, res, html) {
        res.render('inject', {markdown:html, view:"blog"})
    },
    directory: './static/blog'
}))

If no extend function is provided, it generates a responds with a basic html page with bootstrap, and a vs.css pygment stylesheet

Running the tests

$ make test