Esc

COMARK0405 · warning

comark/charts/unnamed-column

Give every column of a chart's table a header

Each header names its column on the chart, as the axis, the legend, or the label of a series, so a column without one can't be drawn. The block shows the table alone.

Incorrect

::chart{title="Ducks per pond"}
|  | ducks |
| --- | --: |
| north | 12 |
| south | 7 |
| east | 9 |
::
md
lint-comark example.mdexample.md:1:1 comark/charts/unnamed-column::chart 1: column 1 of its table has no header.Name it, since the name labels the chart.✖ 1 problem

Correct

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