Esc

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
::
md
lint-comark example.mdexample.md:1:1 comark/charts/missing-table::chart 1 has no table to draw.Put a Markdown table between ::chart and ::: a header row, then one row per point.✖ 1 problem

Correct

::chart{title="Ducks per pond"}
| pond | ducks |
| --- | --: |
| north | 12 |
| south | 7 |
| east | 9 |
::
md
lint-comark example.md✔ No problems