Skip to content

luozaichun/md-plus

 
 

Repository files navigation

md-plus

A markdown parser and compiler. Built for speed.

NPM version

Based on marked.js(https://github.com/chjj/marked) , but add support for table of content.Table of content is generated from the headings that follow the TOC marker.

Install

Install nodejs

Then run command:

npm install md-plus --save

Usage

The library usage is exactly the same as that of marked.

To use the TOC support, do the following:

  • Insert [TOC] in the markdown file to generate table of content in the html output.

License

MIT

About

A markdown parser and compiler. Built for speed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 67.2%
  • JavaScript 32.7%
  • Makefile 0.1%