The remark plugin for supporting custom heading id and Default Id
### My Great Heading {#custom-id}
<h3 id="custom-id">My Great Heading</h3>
This package exports no identifiers. The default export is remarkHeaderId
.
unified().use(remarkHeadingId[, options])
Configuration (optional).
Whether to add default titles based on the title text (boolean, default: false).
### My Great Heading
<h3 id="my-great-heading">My Great Heading</h3>
- Fork it!
- Create your new branch:
git checkout -b feature-new
orgit checkout -b fix-which-bug
- Start your magic work now
- Make sure npm test passes
- Commit your changes:
git commit -am 'feat: some description (close #123)'
orgit commit -am 'fix: some description (fix #123)'
- Push to the branch:
git push
- Submit a pull request :)
This library is written and maintained by imcuttle, [email protected].
MIT - imcuttle 🐟