Page notes — endnotes or footnotes — are not entered directly into a page record in LearnPress but stored in separate records which are attached to the referring page. Special markup is inserted into the body text of a page in order to reference the note.
When LearnPress displays the page, it searches the body text for note references, then identifies the referenced notes. If both reference and note are found, the references are automatically numbered and turned into specially formatted links to the note, and the note is formatted and displayed at the bottom of the page. This means that you do not need to keep track of note numbering in pages.
Page notes are formatted automatically for ease of use and accessibility. Each note and note reference has a distinct URI, and notes and note references are linked directly to one another.
The note reference looks like this:
<sup class="footnote"><a rel="footnote" id="noteref1" href="#note1">1</a></sup>
The <sup> tag semantically implies either a note reference or an exponent. The rel attribute says that this link goes to a footnote. The link then points directly to the specific note referenced, not merely to the top of a list of notes.
After the note, a link is provided to return to the text. This link points to the id of the note reference above.
In this system, someone using a screen reader or audio browser can read through the text of the page, hear the footnote, then return to the flow of the text without interruption or extra navigation.