markdown-toc-x
v0.1.5
Published
## Installation ```sh npm i -S markdown-toc-x ```
Downloads
6
Maintainers
Readme
markdown-toc-x
Installation
npm i -S markdown-toc-x
Minimal 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.url
the function to generate links' url
License
MIT