-
Notifications
You must be signed in to change notification settings - Fork 530
/
Copy pathFootnotes.text
116 lines (83 loc) · 5.79 KB
/
Footnotes.text
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
This is the first paragraph.[^first]
[^first]: This is the first note.
* List item one.[^second]
* List item two.[^third]
[^third]: This is the third note, defined out of order.
[^second]: This is the second note.
[^fourth]: This is the fourth note.
# Header[^fourth]
Some paragraph with a footnote[^1], and another[^2].
[^1]: Content for fifth footnote.
[^2]: Content for sixth footnote spanning on
three lines, with some span-level markup like
_emphasis_, a [link][].
[link]: http://michelf.ca/
Another paragraph with a named footnote[^fn-name].
[^fn-name]:
Footnote beginning on the line next to the marker.
This paragraph should not have a footnote marker since
the footnote is undefined.[^3]
This paragraph has a second footnote marker to footnote number one.[^1]
This paragraph links to a footnote with plenty of
block-level content.[^block]
[^block]:
Paragraph.
* List item
> Blockquote
Code block
This paragraph host the footnote reference within a
footnote test[^reference].
[^reference]:
This footnote has a footnote of its own.[^nested]
[^nested]:
This footnote should appear even though it is referenced
from another footnote. But [^reference] should be literal
since the footnote with that name has already been used.
- - -
Testing unusual footnote name[^1$^!"'].
[^1$^!"']: Haha!
- - -
Footnotes mixed with images[^image-mixed]
![1800 Travel][img6]
![1830 Travel][img7]
[img6]: images/MGR-1800-travel.jpeg "Travel Speeds in 1800"
[^image-mixed]: Footnote Content
[img7]: images/MGR-1830-travel.jpeg "Travel Speeds in 1830"
Alt text in images is exposed in the title[^imgalt].
[^imgalt]: This is snuggle. <img src="https://placekitten.com/100/100" alt="Photo of a cute kitten." />
Very long footnotes are truncated at word boundaries[^long].
[^long]: Sensors indicate no shuttle or other ships in this sector. According to coordinates, we have travelled 7,000 light years and are located near the system J-25. Tractor beam released, sir. Force field maintaining our hull integrity. Damage report? Sections 27, 28 and 29 on decks four, five and six destroyed. Without our shields, at this range it is probable a photon detonation could destroy the Enterprise.
Although some titles may be split-mid emoji if they use ZWJ[^zwj].
[^zwj]: 👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲👨🦲
Fully multilingual[^中国文].
[^中国文]: 两位皇子,你们各拥党羽,雄心勃勃地争取国柄和皇座,我们现在代表民众告诉你们:罗马人民已经众口一辞,公举素有忠诚之名的安德洛尼克斯作为统治罗马的君王,因为他曾经为罗马立下许多丰功伟绩,在今日的邦城之内,没有一个比他更高贵的男子,更英勇的战士。他这次奉着元老院的召唤,从征讨野蛮的哥特人的辛苦的战役中回国;凭着他们父子使敌人破胆的声威,已经镇伏了一个强悍善战的民族。自从他为了罗马的光荣开始出征、用武力膺惩我们敌人的骄傲以来,已经费了十年的时间;他曾经五次流着血护送他的战死疆场的英勇的儿子们的灵榇回到罗马来;现在这位善良的安德洛尼克斯,雄名远播的泰特斯,终于满载着光荣的战利品,旌旗招展,奏凯班师了。凭着你们所希望克绳遗武的先皇陛下的名义,凭着你们在表面上尊崇的议会的权力,让我们请求你们各自退下,解散你们的随从,用和平而谦卑的态度,根据你们本身的才德,提出你们合法的要求。
Also supports elements like `<ruby><rp><rt>`[^ruby]
[^ruby]: <ruby>
漢 <rp>(</rp><rt>kan</rt><rp>)</rp>
字 <rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby>
Also Emoji[^🥰] compatible.
[^🥰]: 🥰
All the text present in a table should be in the title tooltip[^table].
[^table]: <table>
<thead>
<tr>
<th colspan="2">The table header</th>
</tr>
</thead>
<tbody>
<colgroup>
<col>
<col span="2" class="Column A">
<col span="2" class="Column B">
</colgroup>
<tr>
<td>The table body</td>
<td>with two columns</td>
</tr>
</tbody>
<tfoot><tr><td>Footer</td></tr></tfoot>
<caption>A demo table</caption>
</table>
Markdown in a footnote is turned into plain text for the title[^mdtitle].
[^mdtitle]: Markdown *emphasis* and a [link](https://example.com)