markdown-headings
Get headings in markdown
Last updated 2 years ago by 1000ch .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install markdown-headings 
SYNC missed versions from official npm registry.

markdown-headings

Get headings in markdown.

Build Status NPM version Dependency Status devDependency Status

Install

$ npm install --save markdown-headings

Usage

CLI

Usage
  $ markdown-headings [<file|glob> ...]

Options
  --help          Show help
  --stdin         Process string from stdin
  --version       Show version

JavaScript

const assert = require('assert');
const markdownHeadings = require('markdown-headings');

assert.deepEqual(markdownHeadings(`# heading1`), ['# heading 1']);

License

MIT © Shogo Sensui

Current Tags

  • 1.3.0                                ...           latest (2 years ago)

5 Versions

  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           3 years ago
  • 0.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |