Table of Contents Generator
NewPaste any Markdown document and instantly generate a clickable Table of Contents. Supports GitHub-style anchors, configurable heading depth (h1–h6), ordered and unordered lists.
Depth:
12 headings15 total found
- [Introduction](#introduction)
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Basic Example](#basic-example)
- [Advanced Usage](#advanced-usage)
- [API Reference](#api-reference)
- [Methods](#methods)
- [Types](#types)
- [Contributing](#contributing)
- [License](#license)Frequently Asked Questions
How are anchor links generated?
Anchors follow the GitHub-flavored Markdown convention: heading text is lowercased, spaces are replaced with hyphens, and non-alphanumeric characters (except hyphens) are stripped. Duplicate headings get a numeric suffix like -1, -2.
Which heading levels are included by default?
By default, h1 through h3 headings are included in the table of contents. You can toggle any heading level (h1–h6) using the checkboxes to customize the depth of your TOC.
Does this support ordered and unordered lists?
Yes. Toggle between ordered (1. prefix) and unordered (- prefix) output. Both formats are valid Markdown and most renderers will display them correctly as nested lists.