Tools

Command line tools for writing and checking VDR.md files.

These tools are in beta, with general availability coming soon. Expect rough edges and output that changes between releases until then. Everything runs through npx, so there is nothing to install.

Linter Beta

Checks a file against the specification and reports where it departs from it, separating what is invalid from what is merely unwise.

$npx vdrmd:lint path/to/VDR.md

Example output

$ npx vdrmd:lint "1 - Finances/VDR.md" 1 - Finances/VDR.md ok header block Spec and Title present, 9 fields parsed ok references 4 resolved, 0 unresolved ok figures 2 figures, each with a source line and one fenced block best practice Figure 1.1 title states no unit or period (R8.6) 1 problem: 0 errors, 1 warning

Example output. Exact wording is not final.

What it checks

More to come

A formatter and a reference resolver are the next candidates. If you are building against the draft and want something specific, say so on the specification before it settles.