marked-engine

Express-compatible Markdown rendering powered by marked.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
marked-engine
540.2.07 years ago11 years agoMinified + gzip package size for marked-engine in KB

Readme

marked-engine
Version Build Quality Coverage Dependencies
Markdown rendering, powered by marked.
marked-engine is an Express-compatible template engine for rendering Markdown.

Install

$ npm install marked-engine

Usage

Register marked-engine as the template engine for files ending with a ".md" extension.
app.engine('md', require('marked-engine').renderFile);

Render a response using Markdown.
res.render('hello.md');

License

The MIT License
Copyright (c) 2012-2017 Jared Hanson <http://jaredhanson.net/>
Sponsor