-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Similar to #1612, I think it would be interesting that the user were able to place footnotes in the document.
My proposal doesn’t intend to change the default way footnotes are handled. It is an improvement, optional for the user to deploy.
Right now, footnotes in HTML documents are placed at the end of the first level section, such as in:
---
title: Footnotes
...
# Chapter One
^[footnote one]
# Chapter Two
^[footnote two]
# Chapter Three
^[footnote three]
# Chapter Four
^[footnote four]
# Chapter Five
^[footnote five]
How about being able to add a first–level title that places all footnotes in the document at the given location?
A minimal sample would be:
# footnotes
Similar to the table of contents, harcoding a title for footnotes should be avoided. The ttitle for footnotes could be specified as a YAML field, such as in:
---
footnotes: Notas
....
Another way to implement it would be to use a first–level title that contains an special identifier, such as in:
# Notas {#footnotes #notas .hidden}
Two important remarks for both approaches:
- Other attributes than the
#footnotesidentifier should be allowed in the title for footnotes. - If there is some text—whatever it comes before the next first–level title—in the section for footnotes, it should be placed after the title and before the footnotes themselves. Sometimes these passages are useful to explain relevant information about the footnotes.