Fossil

Artifact [78dfb41dfd]
Login

Artifact 78dfb41dfd7758aeca12c43cbfacce86a7050b4ba4062b7bad505a327182996e:


Markdown Footnotes Test Document

This document should help with testing of footnotes support that is introduced by the "markdown-footnotes" branch. It might look pretty misformatted unless rendered by the proper Fossil executable that incorporates the abovementioned branch.1

Developers are invited to add test cases here2. It is suggested that the more simple is a test case the earlier it should appear in this document.3

A footnote's label should be case insensitive4, it is whitespace-savvy and can even contain newlines.5

A labeled footnote may be referenced several times6.

A footnote's text should support Markdown markup7.

Another reference6 to the preveously used footnote.

Inline footnotes are supported.8

If undefined label is used9 then red "misref" is emited instead of a numeric marker.misref This can be overridden by the skin though.

The refenrence at the end of this sentence is the sole reason of rendering of lost1 and lost210.

If several labeled footnote definitions have the same equal label then texts from all these definitions are joined.11

Footnotes


  1. ^ Footnotes is a Fossil' extention of Markdown. Your other tools may have limited support for these.
  2. ^ History of test/markdown-test3.md
  3. ^ So that simple cases are processed even if a glitch happens for more tricky cases.
  4. ^ And also tolerate whitespaces.
  5. ^ But at a footnote's definition it should still be written within square brackets on a single line.
  6. ^ a b Each letter on the left is a back-reference to the place of use. Highlighted back-reference indicates a place from which navigation occurred12.
  7. ^ E.g. emphasis, and so on.
  8. ^ These may be usefull for adding small comments.
  9. ^ For example due to a typo.
  10. ^ This note was defined in the middle of the document. It references its previous13 and the forthcoming12 siblings.
  11. ^
    • This came from the begining of the document.
    • And that came from the end of the document.
  12. ^ a b c This note was defined at the end of the document. It defines an inline note.14
  13. ^ This note was defined at the begining of the document.
  14. ^ This is inline note defined inside of a labeled note12.
  15. ^ Misreference
  16. [^ i am unreferenced ]
    If this is rendered wihin footnotes,
    then there is a BUG!