Beginning to hand out footnote ids.

This commit is contained in:
Tom Alexander
2023-10-29 12:06:40 -04:00
parent 06dcd22e69
commit 52ca300de3
4 changed files with 69 additions and 4 deletions

View File

@@ -0,0 +1,25 @@
# Test proves that:
#
# - Anonymous references with identical content get unique IDs.
# - Unreferenced footnote definitions are dropped.
# - Footnote definitions that come before their first reference are dropped.
foo[fn:2:something]
bar[fn::something]
baz[fn::something]
cat[fn::something]
dog[fn:3]
[fn:3] ipsum
[fn:4] lorem
[fn:3] dolar
[fn:5] not referenced
stuff[fn:4] and things