7 [#a1] A paragraph containing several anchors. [#a2] We want to make sure
8 they appear in the correct place. [#a3]
10 [heading This heading shouldn't pick up the previous anchor]
14 [heading This heading should pick up the previous anchor]
17 [heading And this one]
19 [#a6][heading Also this one]
21 [#a7][h3 Finally this]
28 [section Section Anchor]
29 [#a10][section Nested Section]
31 [/ This anchor is invalid, I'm not sure what to do with it]
35 [#a12][?__not_defined__ #a13]
36 [section Conditional Section Anchor]
48 * [#a16] Nested Item 3
53 [section Anchors in templates]
55 [template anchor1[][#t1]]
56 [template para[] Text content]
68 [section Anchors in syntax highlighted code]
70 int ``[#s1]``main() {}
74 [section Nested anchors]
76 [table Table with anchors
84 [section Anchors with escapes]