marked-with-custom-heading-ids

marked-with-custom-heading-ids


Keywords
markdown, markup, html, heading
License
MIT
Install
npm install marked-with-custom-heading-ids@0.0.2

Documentation

marked

expand marked with custom heading ids feature.

install

npm install marked-with-custom-heading-ids --save

usage

var marked = require('marked-with-custom-heading-ids');
marked(text, { headerIdCreator:function () {
    return Math.floor(Math.random() * 1000)
} })