Esc

COMARK0117 · warning

comark/annotate/side-notes-overlap

Leave room between side notes on one side

Notes on one side line up with their marks. When two marks on the same side sit close together, their notes would cover each other. The text can't be measured while parsing, so the plugin goes by the distance between the marks; check the rendered page too.

Incorrect

::screenshot{src="/pond.png" alt="The pond map with three ducks"}
:::annotation{x=10 y=10 w=10 h=10 side="left"}
The first duck in line.
:::
:::annotation{x=10 y=15 w=10 h=10 side="left"}
The second duck in line.
:::
::
md
lint-comark example.mdexample.md:1:19 comark/annotate/side-notes-overlapscreenshot "/pond.png": the left notes for annotations 1 and 2 would overlap.Move one along with at, to another side, or under the image.✖ 1 problem

Correct

::screenshot{src="/pond.png" alt="The pond map with three ducks"}
:::annotation{x=10 y=10 w=10 h=10 side="left"}
The first duck in line.
:::
:::annotation{x=10 y=15 w=10 h=10 side="right"}
The second duck in line.
:::
::
md
lint-comark example.md✔ No problems