Closed
Description
echo 'Bug!^[Note.]' | pandoc -t markdown | pandoc
Output:
[WARNING] Note with key '1' defined at line 3 column 1 but not used.
<p>Bug[^1]</p>
This is pandoc 2.16.2 on macOS 11.6. The first pandoc command produces this, which looks valid to me, but pandoc fails to recognize that there's a reference to the footnote:
Bug![^1]
[^1]: Note.
Since pandoc is failing to parse its own input, I believe there is a bug either in the output or the input side.