The remark plugin for supporting custom heading id also including default id
npm install remark-heading-id





> The remark plugin for supporting custom heading id and Default Id
``markdown`$3
`html`My Great Heading
This package exports no identifiers. The default export is remarkHeaderId.
unified().use(remarkHeadingId[, options])
#### options
Configuration (optional).
#### options.defaults
Whether to add default titles based on the title text (boolean, default: false).
##### Default Heading Input
`markdown`$3
##### Default Heading Output
`html`My Great Heading
- Fork it!
- Create your new branch:
git checkout -b feature-new or git checkout -b fix-which-buggit commit -am 'feat: some description (close #123)'
- Start your magic work now
- Make sure npm test passes
- Commit your changes:
or git commit -am 'fix: some description (fix #123)'git push`
- Push to the branch:
- Submit a pull request :)
This library is written and maintained by imcuttle, moyuyc95@gmail.com.
MIT - imcuttle 🐟