Artifact 7f71c542b14225d6f91c098b77db726db26e15dd3dc87daa6440ebc9fb360d03:
- File test/markdown-test3.md — part of check-in [1787f6df11] at 2022-02-06 22:53:22 on branch markdown-footnotes — Handle misreferences more thoroughly. Implement support of footnotes-within-footnotes with (hopefully) proper crosslinking (that's where it's getting tricky). (user: george size: 2520)
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 lost210.lost1 and
Footnotes
- ^ Footnotes is a Fossil' extention of Markdown. Your other tools may have limited support for these.
- ^ History of test/markdown-test3.md
- ^ So that simple cases are processed even if a glitch happens for more tricky cases.
- ^ And also tolerate whitespaces.
- ^ But at a footnote's definition it should still be written within square brackets on a single line.
- ^ 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 occurred11.
- ^ E.g. emphasis, and so on.
- ^
These may be usefull for adding
smallcomments. - ^ For example due to a typo.
- ^ This note was defined in the middle of the document. It references its previous12 and the forthcoming11 siblings.
- ^ a b c This note was defined at the end of the document. It defines an inline note.13
- ^ This note was defined at the begining of the document.
- ^ This is inline note defined inside of a labeled note11.
- ^ Misreference
-
[^
i am unreferenced]If this is rendered wihin footnotes, then there is a BUG!