Esc

COMARK1605 · warning

comark/metrics/value-out-of-range

Keep a :progress value between 0 and max

A progress bar's value runs from 0 to max, which is 1 unless you set it. A value outside that range is clamped, so the bar shows full or empty and the percent is wrong. The usual cause is a percent written without max=100.

Incorrect

Deploys migrated :progress{value=85}
md
lint-comark example.mdexample.md:1:1 comark/metrics/value-out-of-range:progress 1: value=85 is outside 0 to 1, so the bar was clamped.Write a fraction such as value=0.85, or set max=100.✖ 1 problem

Correct

Deploys migrated :progress{value=85 max=100}
md
lint-comark example.md✔ No problems