0.1.8 • Published 10 years ago

markdown-middleware v0.1.8

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

markdown-middleware

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.

Installation

$ npm install markdown-middleware --save

then in your app:

var markdown = require('markdown-middleware')

Usage

just make sure you use it before static or similar middleware

app.use(markdown({
  // files will be looked for relative to
  // to this path
  directory: __dirname + '/public'
}))

Running the tests

$ make test
0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago