COMARK0402 · warning
comark/charts/missing-table
Put a Markdown table in every ::chart
A chart draws the Markdown table inside it, and nothing else. Without a table there's nothing to draw, so the block shows its content as it is.
Incorrect
::chart{title="Ducks per pond"}
- north: 12
- south: 7
- east: 9
:: lint-comark example.mdexample.md:1:1 comark/charts/missing-tablePut a Markdown table between
::chart and ::: a header row, then one row per point.✖ 1 problemCorrect
::chart{title="Ducks per pond"}
| pond | ducks |
| --- | --: |
| north | 12 |
| south | 7 |
| east | 9 |
:: lint-comark example.md✔ No problems