md-toc-cli: A Lightweight Python CLI & Library for Markdown Table of Contents
Automatically generate clean Table of Contents and GitHub-compatible slug anchor IDs for your Markdown files.
Features
- Pure Python with zero external dependencies.
- Generates slugified anchor links.
- Easy to use as a CLI tool or Python library.
Installation & Usage
git clone https://github.com/qtnt2xxx-wq/md-toc-cli.git
cd md-toc-cli
python3 -m unittest test_md_toc.py
Check out the repository on GitHub.
Top comments (0)