em
express-markdown
npm i express-markdown
em

express-markdown

Expressjs middleware for rendering markdown files

by James Hight

0.0.6 (see all)TypeScript:Not Found
npm i express-markdown
Readme

express-markdown

Express middleware for rendering markdown files

Usage

// !!!IMPORTANT: place this before static or similar middleware
app.use(require('express-markdown')({

  // directory where markdown files are stored
  // required
  directory: __dirname + '/public', 

  // view to use for rendering markdown file
  // optional
  // default is undefined, no view
  view: 'foo',

  // name of markdown variable passed in the context when rendering
  // optional
  // default 'markdown'
  variable: 'bar'

}));

Downloads/wk

9

GitHub Stars

16

LAST COMMIT

9yrs ago

MAINTAINERS

1

CONTRIBUTORS

2

OPEN ISSUES

0

OPEN PRs

1
VersionTagPublished
0.0.6
latest
9yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate