Esc

COMARK1307 · warning

comark/tabs/unknown-prop

Use only the props of ::tabs and :::tabs-item

::tabs and ::code-group read sync, and :::tabs-item reads label and icon. Every other prop is ignored, so a misspelled sync leaves the block switching on its own, and a default or active doesn't change which tab shows first.

Incorrect

::tabs{sycn="pond"}
:::tabs-item{label="North pond"}
14 ducks.
:::
::
md
lint-comark example.mdexample.md:1:1 comark/tabs/unknown-prop::tabs 1: sycn isn't a prop of ::tabs, so it's ignored.Use sync.✖ 1 problem

Correct

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