mdv render

Strip mdv comments out into plain Markdown.

Strip away the hidden rules and what remains is the plain Markdown the crew actually reads.

Usage

mdv render --schema FILE [--rules] [-o FILE]

Options

  • --schema FILE — The contract to render (required).
  • --rules — Keep each block's rules as a <!-- rules: … --> comment, for prompting an agent.
  • -o FILE — Write the output to FILE instead of stdout.

Examples

mdv render --schema schema.mdv.md -o out.md   # write the contract as plain Markdown
mdv render --schema schema.mdv.md --rules     # the agent-facing template: every block's rules as comments

On this page