0.1.5 • Published 10 years ago

markdown-toc-x v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
10 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

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago