Esc

COMARK2504 · warning

comark/outline/unknown-prop

Use only ::toc's props

::toc reads depth and title, and ignores every other prop. A misspelled depth, or levels from another tool's table of contents, leaves the list at its default of h2 and h3.

Incorrect

::toc{levels=4}
::

## Deploys

#### Rollbacks
md
lint-comark example.mdexample.md:1:1 comark/outline/unknown-prop::toc 1: levels isn't a prop of ::toc, so it's ignored.Use depth or title.✖ 1 problem

Correct

::toc{depth=4}
::

## Deploys

#### Rollbacks
md
lint-comark example.md✔ No problems