markdown-it-id-and-toc (npm): Markdown-it plug-in unifies creation of TOC and heading id values, supports id uniqueness and referential integrity
Keywords: markdown|markdown-it|plugin