Esc

COMARK1609 · warning

comark/metrics/non-numeric-cell

Write a ::stats row's before and after as numbers

Each row's change is worked out from its before and after cells, so both must be numbers, with commas if you like and an optional unit after them. A row with a word in either cell has an empty change.

Incorrect

::stats
| Metric | Before | After |
| --- | --- | --- |
| Ducks fed | a few | 40 |
::
md
lint-comark example.mdexample.md:1:1 comark/metrics/non-numeric-cell::stats 1, row "Ducks fed": "a few" isn't a number, so it has no change.Write a number with an optional unit, such as 412 kB.✖ 1 problem

Correct

::stats
| Metric | Before | After |
| --- | --- | --- |
| Ducks fed | 12 | 40 |
::
md
lint-comark example.md✔ No problems