COMARK2903 · warning
comark/xref/missing-id
Give every :ref an id
:ref reads the id it points at from {#...}. Without one, it has nothing to number and renders as [?]. Writing the label without its # makes it a prop instead of an id, so the reference still names nothing.
Incorrect
{#fig-ducks}
As :ref{fig-ducks} shows, the ducks stay near the reeds. lint-comark example.mdexample.md:1:1 comark/xref/missing-idWrite the id it points at, such as
:ref{#fig-login}.✖ 1 problemCorrect
{#fig-ducks}
As :ref{#fig-ducks} shows, the ducks stay near the reeds. lint-comark example.md✔ No problems