aboutsummaryrefslogtreecommitdiff
path: root/tests/php/extra/Footnotes.text
blob: 40192e961441f400d1c19c48fcf21a289e16fb95 (plain)
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
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 spaning on 
    three lines, with some span-level markup like
    _emphasis_, a [link][].

[link]: http://www.michelf.com/

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 should not have a footnote marker since 
the footnote has already been used before.[^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 as it is refered
	from another footnote. But [^reference] should be litteral
	since the footnote with that name has already been used.

 - - -

Testing unusual footnote name[^1$^!"'].

[^1$^!"']: Haha!