mdast plugin to support Markdown Extension for custom heading IDs
npm install mdast-heading-id

MDast utility to insert "ID" nodes in
the AST.
Most users should use
remark-custom-heading-id
instead, which works end-to-end with remark.
This utility works with the
micromark-heading-id
extension for micromark to insert
nodes based on the {#my-id} extended syntax for Markdown.