content.blocks.has

Require a section to contain a block of a given kind: a list, a table, a code fence.

Docking computer: Wrong port shape. No seal. Try again.

Quick reference

Written asFails withApplies to
content.blocks.has=…missing-block error
missing-content error
section

Examples

content.blocks.has

Require the section to contain specific block types — any of image, table, code, list.

A table and a stated reason pass

contract.mdv.md
<!-- mdv: section required content.blocks.has=[table, /because/] -->
## Relay Decision
document.md
## Relay Decision

We rerouted telemetry because the relay window closes at 14:30.

| Window | Status  |
| ------ | ------- |
| 14:30  | closing |

✓ passes

A missing table is flagged

contract.mdv.md
<!-- mdv: section required content.blocks.has=[table, /because/] -->
## Relay Decision
document.md
## Relay Decision

We rerouted telemetry because the relay window closes at 14:30.

✗ missing-block error · line 3

On this page