mdtoc-gen

Fast and flexible Rust library and CLI tool for generating and updating table of contents in Markdown files.

Featured completed
| devtools

Tech Stack

Rust CommonMark Regex

About

A comprehensive Rust-based solution for managing Markdown table of contents with support for CommonMark and GitHub Flavored Markdown. Features customizable indentation, depth levels, pattern exclusions via regex, Unicode support, and automatic duplicate handling. Includes 80+ tests ensuring reliability and supports shell completions for multiple shells.