Esc

COMARK2502 · warning

comark/outline/invalid-depth

Write depth as a whole number from 2 to 6

depth is the deepest heading level the list goes down to, from 2 to 6. Anything else, such as 7, h3, or three, leaves the block empty, so the page shows no list at all.

Incorrect

::toc{depth=h3}
::

## Ponds

### The north pond
md
lint-comark example.mdexample.md:1:1 comark/outline/invalid-depth::toc 1: depth must be a whole number from 2 to 6, such as depth=3 for h2 and h3 headings.Change the block as the message says.✖ 1 problem

Correct

::toc{depth=3}
::

## Ponds

### The north pond
md
lint-comark example.md✔ No problems