← Back to tools

DocToc

Generates table of contents for Markdown files in git repositories

Documentation linuxmacoswindows JavaScript MIT

Description

DocToc generates table of contents for Markdown files inside local git repositories. The generated links are compatible with anchors generated by GitHub and other sites, making it easy to add navigable TOCs to README files and documentation.

AI Summary

Auto-generates GitHub-compatible table of contents for Markdown files

Capabilities

  • + Generate table of contents for Markdown files
  • + GitHub-compatible anchor links
  • + Process all Markdown files in a git repository
  • + Update existing TOCs in place

Use When

  • You need to add a table of contents to Markdown documentation
  • You want auto-generated TOCs compatible with GitHub

Avoid When

  • x You are working with non-Markdown documentation

Related Tools

View AGENTS.md for DocToc