Code flow
Flags source lines that disappear or stop following their original fenced order.
code.*Preflight for code-heavy manuals
Keep your renderer. Code Proof checks the artifact it leaves behind—code flow, page overflow, syntax color, and internal links—before readers find the damage.
The press check
Code Proof compares the source contract with the fixed PDF and leaves a proof sheet your team can review in a browser.
Use the built-in Pandoc adapter, a custom command, or an already-built PDF. Arguments never pass through a shell.
Read PDF annotations, content streams, color operations, and painted text bounds. Match code lines back to their source fence.
Open the tactile HTML proof, archive JSON in CI, and use stable exit codes to stop a broken manual.
Recorded local run
$ codeproof check manual.md --pdf dist/manual.pdf --out proof
READ 47 fenced blocks · 12 internal links
CHECK page bounds · annotations · text flow · color
ERROR [geometry.text-overflow] page 38 · x=521.6pt
WARN [code.highlight-not-detected] source line 914
WRITE proof/index.html
HOLD — 184 pages, 47 code blocks, 1 error, 1 warning
Release contract / v0.1
Flags source lines that disappear or stop following their original fenced order.
code.*Estimates painted text width from PDF content operations and reports the page.
geometry.*Validates Markdown fragments, then counts link annotations in the final PDF.
link.*Warns when language-tagged blocks produce no detectable non-default PDF color.
highlight.*Pull a proof
Build the 0.1 binary with Rust, then point it at a source/PDF pair. No account, upload, daemon, or telemetry.
Read the full CLI referencecargo install --path clicodeproof check manual.md --pdf manual.pdfcodeproof check manual.md --pdf manual.pdf --jsonA boundary, honestly stated
Code Proof runs renderers with a clean environment, fixed arguments, an isolated temporary workspace, and a deadline. It never executes Markdown scripts. Process cleanup is not an OS security boundary; keep untrusted documents inside your CI or container sandbox.