Esc

COMARK1304 · warning

comark/tabs/missing-label

Label every tab

A tab shows its label, so a tab without one is named "Tab 1", and a code block in a ::code-group without one is named by its language. In a code group, the label goes in brackets after the language, as in sh [pnpm].

Incorrect

::tabs
:::tabs-item
14 ducks.
:::
::
md
lint-comark example.mdexample.md:1:1 comark/tabs/missing-label::tabs 1, tab 1: label is required.Write :::tabs-item{label="..."}.✖ 1 problem

Correct

::tabs
:::tabs-item{label="North pond"}
14 ducks.
:::
::
md
lint-comark example.md✔ No problems