Skip to content

Commit bcbe7ec

Browse files
committed
docs: fix minor nits and typo
1 parent 046a6eb commit bcbe7ec

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

mdformat_footnote/_reorder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

tests/fixtures.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ Empty footnote
5656
.
5757
Here is a footnote reference [^emptynote]
5858

59-
[^emptynote]:
59+
[^emptynote]:
6060
.
6161
Here is a footnote reference [^emptynote]
6262

63-
[^emptynote]:
63+
[^emptynote]:
6464
.
6565

6666

0 commit comments

Comments
 (0)