COMARK0401 · warning
comark/charts/unknown-prop
Use only the props of ::chart and its annotations
::chart reads type, x, y, and title, and an annotation inside it reads at, series, mark, color, and side. Any other prop is ignored, so a misspelled title leaves the chart without a caption, and screen readers name it by what it draws instead.
Incorrect
::chart{titel="Ducks per pond"}
| pond | ducks |
| --- | --: |
| north | 12 |
| south | 7 |
| east | 9 |
:: lint-comark example.mdexample.md:1:1 comark/charts/unknown-propValid props: type, x, y, title, labels.✖ 1 problem
Correct
::chart{title="Ducks per pond"}
| pond | ducks |
| --- | --: |
| north | 12 |
| south | 7 |
| east | 9 |
:: lint-comark example.md✔ No problems