marked-engine
v0.2.0
Published
Express-compatible Markdown rendering powered by marked.
Downloads
870
Maintainers
Readme
marked-engine
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
Copyright (c) 2012-2017 Jared Hanson <http://jaredhanson.net/>