Markdown-inhoudsopgavegenerator
Genereer een geneste inhoudsopgave van de koppen van elk Markdown-document.
Snel antwoord: Markdown-inhoudsopgavegenerator: maak een geneste inhoudsopgave op basis van de koppen in elk Markdown-document. Werkt volledig in je browser, gratis en zonder registratie.
Laatst bijgewerkt
Goed om te weten
The whole value of a generated table of contents is that its anchor links match the slugs your renderer will actually create. This tool follows GitHub's slugging rules: lowercase the heading, strip punctuation, and replace spaces with hyphens — so ## Getting Started becomes #getting-started. That compatibility is why the links work in a README without any manual anchor tags.
Nesting mirrors your heading levels, so a clean, sequential outline (H1 → H2 → H3, no skipped levels) produces a clean, indented list. If your document jumps from H2 straight to H4, the TOC faithfully reproduces that gap — which is a good prompt to fix the underlying structure rather than the list.
One edge case to watch: duplicate heading text. GitHub disambiguates repeated headings by appending -1, -2 and so on to the later slugs, but a standalone generator can only emit the base slug. If your document has two sections named "Overview," adjust the second link by hand so it doesn't jump to the first.
Regenerate the TOC whenever you add, rename or reorder sections — a stale contents list with dead anchors is worse than none. If you're still drafting, the live split-pane Markdown Editor is a faster place to shape headings before you finalize the outline here.
Veelgestelde vragen
- Is de TOC-generator gratis?
- Ja — gratis zonder registratie.
- Zijn slugs GitHub-compatibel?
- Ja — we gebruiken GitHub's kleine letters + streepjes slugging, zodat de ankerlinks in je README werken.
- Zijn mijn documenten geüpload?
- Nee — de generatie draait in je browser.
- Zal het de H1 overslaan?
- Nee — elk kopniveau is inbegrepen. Verwijder de H1-regel handmatig als je deze niet in de TOC wilt.
- Wat als twee koppen dezelfde tekst hebben?
- GitHub voegt -1, -2, … toe om te onderscheiden. Dit hulpmiddel genereert momenteel de basis slug — pas deze handmatig aan indien nodig.