section-marked
v0.3.8
Published
A markdown parser with optional section blocks
Downloads
2
Readme
section-marked
a fork of npm's marked package, that puts content with a <h{1...6}/>
tag in a <section />
Install
npm install section-marked --save
Usage
Example setting sections for h2
header:
var marked = require('marked');
marked.setOptions({
section_depth: 2
});