Esc

COMARK1604 · warning

comark/metrics/invalid-max

Write max as a number above 0

max is the value of a full bar, so it must be a number above 0. A bar whose max is 0, negative, or not a number renders empty.

Incorrect

Pigeons ringed :progress{value=17 max=0}
md
lint-comark example.mdexample.md:1:1 comark/metrics/invalid-max:progress 1: max must be a number above 0, such as max=100.Change the block as the message says.✖ 1 problem

Correct

Pigeons ringed :progress{value=17 max=20}
md
lint-comark example.md✔ No problems