mdbook-toc Jan-Erik Rediger
winget install --id=badboy.mdbook-toc -e
A preprocessor for mdbook to add inline Table of Contents support.
mdbook-toc is a preprocessor for mdbook designed to add inline Table of Contents (TOC) support. It automatically generates a TOC based on headings in your document, enhancing navigation and readability.
Key Features:
- Automatic TOC Generation: Converts a specified marker (e.g., ) into a structured TOC.
- Customizable Marker: Supports different markers for various platforms, such as GitLab or GitHub.
- Configurable Depth: Allows users to define the maximum header level included in the TOC.
- Seamless Integration: Easily configured through book.toml with minimal setup.
- Cross-Platform Support: Works across multiple environments and can be installed via winget.
Audience & Benefit: Ideal for technical writers, documentation teams, and content creators using mdbook to author books or documentation. It simplifies the process of adding TOCs, improving document structure and user experience.