Esc

COMARK0101 · warning

comark/annotate/unknown-prop

Use only the props of ::screenshot, ::compare, and ::annotation

Each block reads its own props and ignores every other one, so a misspelled prop is dropped without a word. Here colour leaves the mark in the default color. The message suggests the prop you likely meant.

Incorrect

::screenshot{src="/pond.png" alt="The pond map with three ducks"}
:::annotation{x=20 y=30 w=15 h=10 colour="red"}
This duck has no name tag.
:::
::
md
lint-comark example.mdexample.md:1:19 comark/annotate/unknown-propscreenshot "/pond.png", annotation 1: colour isn't a prop of ::annotation. Did you mean color?Valid props: x, y, w, h, mark, color, side, at, to.✖ 1 problem

Correct

::screenshot{src="/pond.png" alt="The pond map with three ducks"}
:::annotation{x=20 y=30 w=15 h=10 color="red"}
This duck has no name tag.
:::
::
md
lint-comark example.md✔ No problems