File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
tests/test_syntax/extensions Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,10 @@ See the [Contributing Guide](contributing.md) for details.
14
14
15
15
### Changed
16
16
17
- * Footnotes are now ordered by the occurrence of their references in the document.
18
- A new config option for ` footnotes ` , ` USE_DEFINITION_ORDER ` , has been added to support
19
- restoring the previous behavior of ordering footnotes by the occurrence of definitions.
17
+ * Footnotes are now ordered by the occurrence of their references in the
18
+ document. A new configuration option for the footnotes extension,
19
+ ` USE_DEFINITION_ORDER ` , has been added to support restoring the previous
20
+ behavior of ordering footnotes by the occurrence of definitions.
20
21
21
22
### Fixed
22
23
Original file line number Diff line number Diff line change @@ -106,11 +106,11 @@ The following options are provided to configure the output:
106
106
The text string used to set the footnote separator. Defaults to ` : ` .
107
107
108
108
* ** ` USE_DEFINITION_ORDER ` ** :
109
- Whether to order footnotes by the occurence of footnote definitions
109
+ Whether to order footnotes by the occurrence of footnote definitions
110
110
in the document. Defaults to ` False ` .
111
111
112
112
Introduced in version 3.9.0, this option allows footnotes to be ordered
113
- by the occurence of their definitions in the document, rather than by the
113
+ by the occurrence of their definitions in the document, rather than by the
114
114
order of their references in the text. This was the behavior of
115
115
previous versions of the extension.
116
116
Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ def test_footnote_order_tricky(self):
402
402
)
403
403
404
404
def test_footnote_order_by_definition (self ):
405
- """Test that footnotes occur in order of definition occurence when so configured."""
405
+ """Test that footnotes occur in order of definition occurrence when so configured."""
406
406
407
407
self .assertMarkdownRenders (
408
408
self .dedent (
You can’t perform that action at this time.
0 commit comments