Esc

COMARK3805 · warning

comark/colors/unknown-prop

Give ::palette no props

::palette has no props: its tiles come from its list alone, and it lays them out to fit the page. A prop such as title or columns is ignored, so write a title as a heading before the block.

Incorrect

::palette{title="Duck pond"}
- Pond blue: #3b82f6
- Duck yellow: #facc15
::
md
lint-comark example.mdexample.md:1:1 comark/colors/unknown-prop::palette 1: title isn't a prop of ::palette, which has none, so it's ignored.Remove it.✖ 1 problem

Correct

## Duck pond

::palette
- Pond blue: #3b82f6
- Duck yellow: #facc15
::
md
lint-comark example.md✔ No problems