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 nodejs
Then run command:
npm install md-plus --save
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.