Esc

COMARK2303 · warning

comark/footnotes/duplicate-definition

Define each footnote label once

Each label has one note. When two [^label]: … lines share a label, the first one shows and the second is dropped, so every reference to that label points at the first. Give each note its own label.

Incorrect

The ducks moved ponds[^1] after the pigeons arrived.[^1]

[^1]: The old pond froze.
[^1]: The pigeons took the bread.
md
lint-comark example.mdexample.md:1:1 comark/footnotes/duplicate-definitionfootnotes: [^1]: is defined more than once, and only the first shows; give the others their own labels, or remove them.Change the block as the message says.✖ 1 problem

Correct

The ducks moved ponds[^1] after the pigeons arrived.[^2]

[^1]: The old pond froze.
[^2]: The pigeons took the bread.
md
lint-comark example.md✔ No problems