Skip to content
/ turpan Public
forked from ruanyf/turpan

a wrapped markdown renderer based on markdown-it

Notifications You must be signed in to change notification settings

xulayen/turpan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a wrapped markdown renderer based on markdown-it

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.3%
  • CSS 4.7%