doccmd2026.09.16.1
Run tools against code blocks in documentation
v2026.09.16.1
31.4 MBscanned clean
Verify your download
Select the file you downloaded to check it against the hash we published — the check runs in your browser, nothing is uploaded.
About
doccmd runs linters, formatters, and other commands against code blocks embedded in documentation, allowing examples to be checked alongside the files that explain them. It adds padding before invoking a command, so diagnostics retain line numbers that correspond to the original documentation file. When a tool does not handle padded input correctly, the --no-pad-file and --no-pad-groups options supply the original code without padding at file or group level.
Commands can run in parallel, and code blocks can be organized through automatic file-level grouping, grouping directives, or MDX attributes, which is useful when formatters must process related blocks together. File selection and linter-ignore settings provide additional control over which documentation is examined. The supported formats include reStructuredText and Markdown; .md files are interpreted as MyST by default, while --myst-extension and --markdown-extension support explicit extension choices.
MDX, Djot, and Norg files work directly, with --mdx-extension, --djot-extension, and --norg-extension available for additional suffixes. For interactive Python examples marked as pycon, doccmd removes the >>> and ... prompts before running the command and restores them afterward while preserving output lines. Documentation teams can also use it as a pre-commit hook to catch example problems before changes are committed.
This open-source System Tools utility is published by Adam Dangoor for x64 Windows 8 or later and Windows Server 2012 or later. Version 2026.09.16.1 uses click-compose 2026.09.16.1 and its multi_callback API to validate options.
Requires Windows 8+ · Server 2012+ · Architecture: x64
What's new in v2026.09.16.1
2026.09.16.1 - Use click-compose 2026.09.16.1 and its multi_callback API for option validation.
Details
SHA-256
Does this still work for you?
Badge for your website
Developers can show that doccmd is available on MirrorNest. Copy the code below: the badge links to this page and updates itself.
<a href="https://mirrornest.com/software/doccmd-6a5bf3f2"><img src="https://mirrornest.com/badge/doccmd-6a5bf3f2.svg" alt="doccmd on MirrorNest" height="20"></a>[](https://mirrornest.com/software/doccmd-6a5bf3f2)Reviews
No reviews yet — be the first.
doccmd alternatives
VectorCraft
Vector illustration; an open-source, clean-room reimplementation of Adobe Illustrator, rebuilt in pure Rust
Hysteria
A powerful, lightning fast and censorship resistant proxy.
dotMemory Unit Standalone Launcher
Effective memory usage in .NET applications with dotMemory Unit
GamebarHandler
Gets rid of those pesky 'open ms-gamebar' and 'open ms-gamingoverlay' popups.
ShareX
ShareX is a free and open-source application that enables users to capture or record any area of their screen with a single keystroke. It also supports uploading images, text, and various file types to a wide range of destinations.
cerebro-es (Install)
elasticsearch web admin tool