COMARK2001 · warning
comark/file-tree/list-instead-of-fence
Write a ::file-tree in a fenced block, not a list
::file-tree reads its tree from a fenced block. A Markdown list inside it renders as a list, and a list loses names: __init__.py turns bold and [id].vue becomes a span.
Incorrect
::file-tree
- ponds/
- north.md
- south.md
:: lint-comark example.mdexample.md:1:1 comark/file-tree/list-instead-of-fenceWrite the tree in a fenced block.✖ 1 problem
Correct
::file-tree
```
ponds/
north.md
south.md
```
:: lint-comark example.md✔ No problems