content.eq

Require a section's text to equal a fixed value, or to stay verbatim from the template.

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

Quick reference

Written asFails withApplies to
content.eq=…verbatim-drift errorsection

Examples

content.eq

Fail when the section's text drifts from a declared source's exact wording, after folding cosmetic quote/dash/whitespace differences.

Wording that matches the source passes

contract.mdv.md
<!-- mdv: section required content.eq=./risk-wording.txt -->
## Risk
risk-wording.txt
Past performance is not a guide to future returns.
document.md
## Risk

Past performance is not a guide to future returns.

✓ passes

Reworded text drifts from the source

contract.mdv.md
<!-- mdv: section required content.eq=./risk-wording.txt -->
## Risk
risk-wording.txt
Past performance is not a guide to future returns.
document.md
## Risk

Past performance is not an indicator of future returns.

✗ verbatim-drift error · line 3

Cosmetic differences are folded away

contract.mdv.md
<!-- mdv: section required content.eq=./risk-wording.txt -->
## Risk
risk-wording.txt
Past performance is not a guide to future returns.
document.md
## Risk

Past   performance is NOT a guide to future returns

✓ passes

On this page