Esc

COMARK2904 · warning

comark/xref/unknown-label

Point :ref at a label in the document

A :ref to a label that nothing in the document has renders as the bare id in brackets, such as [fig-pidgeon], instead of a link. This usually means a typo, or a label on an element comark-xref doesn't number: labels start with fig- for images and figures, or tbl- for tables wrapped in ::table.

Incorrect

![A pigeon on the deploy dashboard](pigeon.png){#fig-pigeon}

See :ref{#fig-pidgeon} for where it sat.
md
lint-comark example.mdexample.md:1:1 comark/xref/unknown-label:ref 1: nothing is labeled #fig-pidgeon.Add {#fig-pidgeon} to an image or a ::table, or fix the id; labels start with fig- or tbl-.✖ 1 problem

Correct

![A pigeon on the deploy dashboard](pigeon.png){#fig-pigeon}

See :ref{#fig-pigeon} for where it sat.
md
lint-comark example.md✔ No problems