Linked outline from your headings, GitHub-slug compatible.
- [Install](#install) - [Usage](#usage) - [Command-line flags](#command-line-flags) - [FAQ](#faq)
📑 Slugs follow GitHub’s algorithm: lowercase, spaces to dashes, punctuation stripped, and duplicate headings get -1/-2 suffixes — so anchor links actually land on the right heading.
GitHub lowercases headings, strips punctuation, converts spaces to dashes, and appends -1/-2 for duplicates. Links generated elsewhere frequently miss the duplicate rule — these do not.
Depth H2-H3 produces a scannable outline for typical articles; pulling in H4+ helps long technical docs but clutters README files. The selector above regenerates instantly.
Drop the list right after your intro paragraph. On GitHub, readers can jump via the built-in outline icon too — but rendered TOCs work everywhere Markdown renders, including blogs and docs sites.
More tools you might find useful
Two-way Morse translation with dot-dash view and beep audio.
Spell numbers out in English words - trillions, decimals, ordinals.
Flesch scores and grade level with sentence-level breakdown.
Clean up lists by removing duplicate lines while keeping order.