1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
Markdown Footnotes Test Document
================================
**This document** should help with testing of footnotes support that
is introduced by the ["`markdown-footnotes`"][branch] 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 here[^here].
It is suggested that the more simple is a test case the earlier it should
appear in this document.[^ if glitch occurs ]
[^lost3]: This note was defined at the begining of the document.
[^duplicate]: This came from the begining of the document.
A footnote's label should be case insensitive[^ case INSENSITIVE ],
it is whitespace-savvy and can even contain newlines.[^ a
multiline
label]
A labeled footnote may be [referenced several times][^many-refs].
A footnote's text should support Markdown [markup][^].
Another reference[^many-refs] to the preveously used footnote.
[^lost2]: This note was defined in the middle of the document.
It references [its previous][^lost3]
and [the forthcoming][^lost1] siblings.
[^i am unreferenced]: If this is rendered wihin footnotes,
then there is a BUG!
Inline footnotes are supported.(^These may be usefull for adding
<s>small</s> comments.)
If [undefined label is used][^] then red "`misref`" is emited instead of
a numeric marker.[^ see it yourself ]
This can be overridden by the skin though.
|
|
>
>
>
>
|
>
>
|
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
Markdown Footnotes Test Document
================================
**This document** should help with testing of footnotes support that
is introduced by the ["`markdown-footnotes`"][branch] branch.
It **might look pretty misformatted unless rendered by the proper Fossil
executable** that incorporates the abovementioned branch.[^1]
That is also a humble attempt to explore the robustness of the Markdown parser.
So please excuse for the mess in the [source code of this document][src].
By no means the normal use of footnotes should look that scarry.
Developers are invited to add test cases here[^here].
It is suggested that the more simple is a test case the earlier it should
appear in this document.[^ if glitch occurs ]
[^lost3]: This note was defined at the begining of the document.
[^duplicate]: This came from the begining of the document.
A footnote's label should be case insensitive[^ case INSENSITIVE ],
it is whitespace-savvy and can even contain newlines.[^ a
multiline
label]
A labeled footnote may be [referenced several times][^many-refs].
A footnote's text should support Markdown [markup][^].
Another reference[^many-refs] to the preveously used footnote.
[^lost2]: This note was defined in the middle of the document.
It references [its previous][^lost3]
and [the forthcoming][^lost1] siblings.
[^i am strayed]:
This should be presented **verbatim** (without any [markup][^])
in the end of the footnotes.
Default skin renders label in red bold font and the main text as gray.
Other styling may also apply.
Inline footnotes are supported.(^These may be usefull for adding
<s>small</s> comments.)
If [undefined label is used][^] then red "`misref`" is emited instead of
a numeric marker.[^ see it yourself ]
This can be overridden by the skin though.
|
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
[branch]: /timeline?r=markdown-footnotes&nowiki
[^ 1]: Footnotes is a Fossil' extention of
Markdown. Your other tools may have limited support for these.
[^here]: [History of test/markdown-test3.md](/finfo/test/markdown-test3.md)
[^if glitch occurs]:
So that simple cases are processed even if
a glitch happens for more tricky cases.
[^ CASE insensitive ]: And also tolerate whitespaces.
|
>
>
|
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
[branch]: /timeline?r=markdown-footnotes&nowiki
[^ 1]: Footnotes is a Fossil' extention of
Markdown. Your other tools may have limited support for these.
[^here]: [History of test/markdown-test3.md](/finfo/test/markdown-test3.md)
[src]: /file/test/markdown-test3.md?ci=markdown-footnotes&txt&ln
[^if glitch occurs]:
So that simple cases are processed even if
a glitch happens for more tricky cases.
[^ CASE insensitive ]: And also tolerate whitespaces.
|
74
75
76
77
78
79
80
81
82
83
|
[^lost1]: This note was defined at the end of the document.
It defines an inline note.
(^This is inline note defined inside of [a labeled note][^lost1].)
[^markup]: E.g. *emphasis*, and [so on](/md_rules).
[^undefined label is used]: For example due to a typo.
|
>
>
|
84
85
86
87
88
89
90
91
92
93
94
95
|
[^lost1]: This note was defined at the end of the document.
It defines an inline note.
(^This is inline note defined inside of [a labeled note][^lost1].)
[^markup]: E.g. *emphasis*, and [so on](/md_rules).
BTW, this note may not have a backreference to the "stray".
[^undefined label is used]: For example due to a typo.
[^another stray]: Just to verify the correctness of ordering and styling.
|