diff --git a/org/html_writer.go b/org/html_writer.go index faba5f0..05713e6 100644 --- a/org/html_writer.go +++ b/org/html_writer.go @@ -151,6 +151,7 @@ func (w *HTMLWriter) WriteFootnotes(d *Document) { w.WriteString(`
-normal footnote reference 0 1 2 (footnote names can be anything in the format [\w-]
)
+normal footnote reference 1 2 3 (footnote names can be anything in the format [\w-]
)
-further references to the same footnote should not 0 render duplicates in the footnote list +further references to the same footnote should not 1 render duplicates in the footnote list
-inline footnotes are also supported via 3. +inline footnotes are also supported via 4.
-anonymous inline footnotes are also supported via 4. +anonymous inline footnotes are also supported via 5.
Footnote definitions are not printed where they appear. -Rather, they are gathered and exported at the end of the document in the footnote section. 5 +Rather, they are gathered and exported at the end of the document in the footnote section. 6
-footnotes that reference a non-existant definition are rendered but log a warning 6 +footnotes that reference a non-existant definition are rendered but log a warning 7
-Please note that the footnotes section is not automatically excluded from the export like in emacs. 7 +Please note that the footnotes section is not automatically excluded from the export like in emacs. 8
-this is not part of 7 anymore as there are 2 blank lines in between! +this is not part of 8 anymore as there are 2 blank lines in between!
Footnotes break after two consecutive empty lines - just like paragraphs - see https://orgmode.org/worg/dev/org-syntax.html. @@ -119,7 +119,7 @@ This shouldn't happen when the definition line and the line after that are e
the anonymous inline footnote definition @@ -143,7 +143,7 @@ the anonymous inline footnote definition
so this definition will not be at the end of this section in the exported document. @@ -152,7 +152,7 @@ Rather, it will be somewhere down below in the footnotes section.
There's multiple reasons for that. Among others, doing so requires i18n (to recognize the section) and silently diff --git a/org/testdata/misc.html b/org/testdata/misc.html index a925348..d6a389f 100644 --- a/org/testdata/misc.html +++ b/org/testdata/misc.html @@ -413,7 +413,7 @@ src/example/export blocks should not be converted! #87: Markup in footnotes is rendered literally
-footnotes can contain markup - and other elements and stuff 0 1 +footnotes can contain markup - and other elements and stuff 1 2