node package manager

marked-engine

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