markdown-it-table-of-contents
Version:
A Markdown-it plugin for adding a table of contents to markdown documents
25 lines (16 loc) • 337 B
Markdown
An article
[[toc]]
# Sub heading
Some nice text
## Common sub heading
Some very nice text
### Duplicate heading
Some exceptionally nice text
### Duplicate heading
Some exceptionally nice text
# Sub heading 2
Some even nicer text
## Common sub heading
Some more nice text
# Duplicate heading
Some exceptionally nice text