COMARK0107 · warning
comark/annotate/invalid-viewport
Write viewport as the capture size, like 1440x900
viewport is the size the screenshot was captured at, in pixels. It places each annotation's number against the image's real shape, and lets a compare check that both sides match. Anything but WIDTHxHEIGHT is ignored.
Incorrect
::screenshot{src="/pond.png" alt="The pond map with three ducks" viewport="1440 by 900"}
:: lint-comark example.mdexample.md:1:19 comark/annotate/invalid-viewportChange the block as the message says.✖ 1 problem
Correct
::screenshot{src="/pond.png" alt="The pond map with three ducks" viewport="1440x900"}
:: lint-comark example.md✔ No problems