summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/quickbook/test/heading-1_5.quickbook
blob: 572b184cd80cfa79e51ec34e080a9d09578bd8e3 (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
[article Heading Test 1.5
[quickbook 1.5]
]

[/ Basic headers ]

[heading Generic header]
[h1 Level 1]
[h2 Level 2]
[h3 Level 3]
[h4 Level 4]
[h5 Level 5]
[h6 Level 6]

[/ Test how heading ids are generated when different types of markup are present]

[h1 *Bold*]
[h1 [/]Comment[/]]

[/ Headings that look like ids]

[h1:notanid]
[h1:also not an id]

[/ Test how ids are generated for headings containing things like anchors
   and links ]

[h1 [#anchor]Anchor heading]
[h1 [link anchor Link heading]]

[/ Test how heading ids are generated inside sections]

[heading H1]

[section:s1 S1]

[h2 H2]

[section:s2 S2]

[h3 H3]

[endsect]

[h2 H4]

[section:s3 S3]

[heading H5]

[endsect]

[h2 H6]

[endsect]

[h1 H7]