Esc

COMARK2607 · warning

comark/table/unknown-format

Give a table CSV, TSV, or JSON

A table reads CSV, TSV, and JSON. It takes the format from format, else the file's extension or the fence's language, and anything else renders nothing. Set format when a file is named otherwise.

Incorrect

::table
```yaml
- pond: Mill pond
  ducks: 14
```
::
md
lint-comark example.mdexample.md:1:1 comark/table/unknown-format::table 1: can't read "yaml".Use a .csv, .tsv, or .json file or fence, or set format.✖ 1 problem

Correct

::table
```json
[{ "pond": "Mill pond", "ducks": 14 }]
```
::
md
lint-comark example.md✔ No problems