0.1.5 • Published 7 years ago

markdown-toc-x v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago