Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Markdown TOC Generator & Header Studio (by MagnusR9)New to Visual Studio Code? Get it now.
Markdown TOC Generator & Header Studio (by MagnusR9)

Markdown TOC Generator & Header Studio (by MagnusR9)

MagnusR9

| (0) | Free
Generate and auto-update GitHub-compatible Markdown Table of Contents (TOC) with clean anchor slugs and LF/CRLF support.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MagnusR9 Markdown TOC Generator & Auto-Updater

Generate and update GitHub- and GitLab-compatible Markdown Table of Contents (<!-- TOC -->) in 1 click.

Features

  • Code-Block Aware: Ignores # comments inside fenced code blocks (```).
  • Duplicate Heading Deduplication: Automatically appends -1, -2 to duplicate anchor slugs matching GitHub's exact specification.
  • Cross-Platform CRLF/LF Safe: Works seamlessly on macOS, Linux, and Windows.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft