File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ def reorder_footnotes_by_definition(state: StateCore) -> None:
99 """Reorder footnotes to match definition order and normalize subIds.
1010
1111 The mdit-py-plugins footnote plugin assigns IDs and subIds based on the
12- order references are encountered during inline parsing. This causes HTML
13- to differ when footnote definitions are reordered by the formatter.
12+ order the references are encountered during inline parsing. This causes
13+ HTML to differ when footnote definitions are reordered by the formatter
1414
1515 This rule:
1616 1. Preserves orphan footnotes (defined but never referenced)
Original file line number Diff line number Diff line change @@ -56,11 +56,11 @@ Empty footnote
5656.
5757Here is a footnote reference [ ^ emptynote ]
5858
59- [ ^ emptynote ] :
59+ [ ^ emptynote ] :
6060.
6161Here is a footnote reference [ ^ emptynote ]
6262
63- [ ^ emptynote ] :
63+ [ ^ emptynote ] :
6464.
6565
6666
You can’t perform that action at this time.
0 commit comments