• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[article Anchor Test
2[quickbook 1.6]
3]
4
5[section Anchors]
6
7[#a1] A paragraph containing several anchors. [#a2] We want to make sure
8they appear in the correct place. [#a3]
9
10[heading This heading shouldn't pick up the previous anchor]
11
12[#a4]
13
14[heading This heading should pick up the previous anchor]
15
16[#a5]
17[heading And this one]
18
19[#a6][heading Also this one]
20
21[#a7][h3 Finally this]
22
23[#a8]
24
25[endsect]
26
27[#a9]
28[section Section Anchor]
29[#a10][section Nested Section]
30[endsect]
31[/ This anchor is invalid, I'm not sure what to do with it]
32[#a11]
33[endsect]
34
35[#a12][?__not_defined__ #a13]
36[section Conditional Section Anchor]
37[endsect]
38
39[section Lists]
40
41[#a14]
42* Item 1
43* Item 2
44* Nested List
45  [#a15]
46  * Nested Item 1
47  * Nested Item 2
48  * [#a16] Nested Item 3
49* Item 3
50
51[endsect]
52
53[section Anchors in templates]
54
55[template anchor1[][#t1]]
56[template para[] Text content]
57
58[anchor1]
59
60Some text.
61
62[#t2]
63
64[para]
65
66[endsect]
67
68[section Anchors in syntax highlighted code]
69
70    int ``[#s1]``main() {}
71
72[endsect]
73
74[section Nested anchors]
75
76[table Table with anchors
77    [[Heading]]
78    [[[#table1]Cell 1]]
79    [[[#table2] Cell 2]]
80    [[Cell 3[#table3]]]
81]
82[endsect]
83
84[section Anchors with escapes]
85
86[#\[oddid\]]
87
88[endsect]