COMARK0108 · warning
comark/annotate/invalid-position
Place each annotation with x, y, w, h, at, and to from 0 to 100
x, y, w, and h place an annotation's box as percentages of the image: x and y from its top left corner, w and h its width and height. Each is required and is a plain number, so a missing one or one with % or px leaves the box out of place.
Incorrect
::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.
:::
:: lint-comark example.mdexample.md:1:19 comark/annotate/invalid-positionChange the block as the message says.✖ 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.
:::
:: lint-comark example.md✔ No problems