turpan

0.4.4 • Public • Published

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

/turpan/

    Package Sidebar

    Install

    npm i turpan

    Weekly Downloads

    43

    Version

    0.4.4

    License

    MIT

    Unpacked Size

    48.3 kB

    Total Files

    22

    Last publish

    Collaborators

    • ruanyf