Generate a table of contents from markdown headings.
A Table of Contents (TOC) helps readers navigate long markdown documents. It automatically generates navigation links from your document's heading structure.
The generator scans your markdown for headings (#, ##, ###, etc.) and creates a nested list with optional anchor links.
When enabled, the tool generates anchor links that work with GitHub's automatic heading ID system:
# My Project ## Getting Started ### Installation ### Configuration ## Usage ### Basic Examples ### Advanced Features
- [My Project](#my-project)
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Basic Examples](#basic-examples)
- [Advanced Features](#advanced-features)
Markdown Syntax:
# H1 ## H2 ### H3 #### H4 ##### H5 ###### H6