Esc

COMARK2004 · warning

comark/file-tree/unknown-prop

Give ::file-tree no props

::file-tree takes no props: every line of the tree comes from its fenced block. A prop such as title is ignored, so the heading it was meant to give the tree never shows. Write it as text before the block.

Incorrect

::file-tree{title="The pond service"}
```
pond/
  ducks.ts
```
::
md
lint-comark example.mdexample.md:1:1 comark/file-tree/unknown-prop::file-tree 1: title isn't a prop of ::file-tree, which takes none, so it's ignored.Remove it.✖ 1 problem

Correct

The pond service:

::file-tree
```
pond/
  ducks.ts
```
::
md
lint-comark example.md✔ No problems