doccmd runs existing linters, formatters and other command-line tools against the code blocks inside documentation files. It is aimed at developers who keep code examples in Markdown or reStructuredText and want those examples checked like the rest of their code.
It runs on Windows and is installed from winget. The source code is public on GitHub under the MIT license, so anyone can read it or build it from the repository.
Alternatives to doccmd
Products that do a similar job in Developer Tools.
readme-md-generator
Command-line generator for README.md files
DevToys
Offline utility collection for everyday developer tasks
Lepton
Desktop snippet manager that stores code snippets as GitHub Gists
Crawl4AI
Open-source web crawler that turns pages into markdown for LLMs
tldr
community-maintained cheatsheets of common command-line examples
presenterm
Terminal slideshow tool that reads markdown files
Glow
Command-line markdown reader with styled terminal output
terminalizer
Command-line recorder that turns terminal sessions into animated GIFs