checked

How many boxes in a checkbox list may (or must) be ticked.

Captain: A ticked box is a promise. Show me the work behind it.

Quick reference

Examples

checked.min

Require at least N checked boxes — mirrors checked.max, e.g. a checklist that must be partly done.

<!-- mdv: section -->
## Changes
<!-- mdv: list checked.min=1 -->
- [x] Launch weather clear
- [ ] Spare antenna packed
- [ ] Droid tools labeled
<!-- mdv: endlist -->
<!-- mdv: endsection -->
<!-- mdv: section -->
## Changes
<!-- mdv: list checked.min=2 -->
- [x] Oxygen tanks topped
- [x] Flight plan signed
- [ ] Crew quarters inspected
<!-- mdv: endlist -->
<!-- mdv: endsection -->

checked.max

Allow at most N checked boxes — useful to bound a multi-select choice.

Two picks out of three passes

contract.mdv.md
<!-- mdv: section required -->
## Priorities
<!-- mdv: list checked.max=2 -->
- [ ] Repair nav beacon
- [ ] Calibrate rover arm
- [ ] Polish droid casing
document.md
## Priorities

- [x] Repair nav beacon
- [x] Calibrate rover arm
- [ ] Polish droid casing

✓ passes

checked.eq=1

Require exactly one checked box — a single-select choice such as a change type.

A single-select with two ticks fails

contract.mdv.md
<!-- mdv: section required -->
## Approach
<!-- mdv: list checked.eq=1 -->
- [ ] Autopilot
- [ ] Manual
document.md
## Approach

- [x] Autopilot
- [x] Manual

✗ need-exactly-one error · line 3

Range

Both bounds at once, inclusive (a.. or ..b for one side):

<!-- mdv: section checked.range=20..200 -->
## Summary
<!-- mdv: endsection -->

On this page