md-plus
v0.4.3
Published
A markdown parser built for speed
Downloads
1
Readme
md-plus
A markdown parser and compiler. Built for speed.
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.