markdown-toc-x
v0.1.5
Published
## Installation ```sh npm i -S markdown-toc-x ```
Downloads
11
Maintainers
Readme
markdown-toc-x
Installation
npm i -S markdown-toc-xMinimal Usage
const mdToc = require('markdown-toc-x');
console.log(mdToc('# This is BIG title'));More Details
This library uses chjj/marked as its lexer.
API
mdToc(text, options)options
- options that marked supports
options.urlthe function to generate links' url
License
MIT
