content.unlike

Require a section to say something different from another section.

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

Quick reference

Written asFails withApplies to
content.unlike=…sections-identical errorsection

Examples

content.unlike

Fail when this section's text is identical or near-identical to another named section in the same document.

Sections that say different things pass

contract.mdv.md
<!-- mdv: section required -->
## Expected Behavior
<!-- mdv: section required content.unlike="Expected Behavior" -->
## Actual Behavior
document.md
## Expected Behavior

The rover saves the telemetry log and confirms the upload to the relay.

## Actual Behavior

The rover crashes with a null pointer error before the log is written.

✓ passes

A copy-pasted section is flagged

contract.mdv.md
<!-- mdv: section required -->
## Expected Behavior
<!-- mdv: section required content.unlike="Expected Behavior" -->
## Actual Behavior
document.md
## Expected Behavior

The rover saves the telemetry log and confirms the upload to the relay.

## Actual Behavior

The rover saves the telemetry log and confirms the upload to the relay.

✗ sections-identical error · line 7

On this page