0.4.4 • Published 4 months ago

turpan v0.4.4

Weekly downloads
95
License
MIT
Repository
github
Last release
4 months ago

Turpan is a wrapped markdown renderer based on markdown-it and a lot of its plugins.

How to use

First, install it.

$ npm install -S turpan

Then require it in your script.

var md = require('turpan');
console.log(md.render('# Hello world'));
// <h1 id="hello-world">Hello world <a class="markdownIt-Anchor" href="#hello-world">#</a></h1>

License

MIT