markdown-sections

get the #sections in a markdown file

npm install markdown-sections
4 downloads in the last week
12 downloads in the last month

markdown-sections

split a markdown file into #sections

Status

Frozen - expect only bug fixes, no api changes or new features.

Example

var sections = require('markdown-sections')
var fs       = require('fs')

var a = sections(fs.readFileSync('./README.MD'))

a.forEach(console.log)

License

MIT

npm loves you