Esc

COMARK0120 · warning

comark/annotate/annotation-outside-screenshot

Put every ::annotation inside a ::screenshot

An ::annotation marks a spot on the screenshot it sits in. Outside one, it has nothing to point at, and it renders as a plain block.

Incorrect

::annotation{x=20 y=30 w=15 h=10}
The duck without a name tag.
::

::screenshot{src="/pond.png" alt="The pond map with three ducks"}
::
md
lint-comark example.mdexample.md:1:1 comark/annotate/annotation-outside-screenshotannotation 1 outside a screenshot ("The duck without a name tag."): it has nothing to point at.Move it inside the ::screenshot it marks, as a direct child.✖ 1 problem

Correct

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