markdown-headings
v5.0.0
Published
Get headings in markdown
Downloads
112
Readme
markdown-headings
Get headings in markdown.
Install
$ npm install --save markdown-headings
Usage
import assert from 'assert';
import markdownHeadings from 'markdown-headings';
assert.deepEqual(markdownHeadings(`# heading1`), ['# heading 1']);