83e2d34c5a
Allows use of templates, and allows more characters, ids now end with whitespace - like ids in links. [SVN r86691]
84 lines
907 B
Plaintext
84 lines
907 B
Plaintext
[article Heading Test 1.7
|
|
[quickbook 1.7]
|
|
]
|
|
|
|
[/ 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[/]]
|
|
|
|
[/ 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]
|
|
|
|
[h1 H1]
|
|
|
|
[section:s1 S1]
|
|
|
|
[heading H2]
|
|
|
|
[section:s2 S2]
|
|
|
|
[h3 H3]
|
|
|
|
[endsect]
|
|
|
|
[h2 H4]
|
|
|
|
[section:s3 S3]
|
|
|
|
[heading H5]
|
|
|
|
[endsect]
|
|
|
|
[h2 H6]
|
|
|
|
[endsect]
|
|
|
|
[h1 H7]
|
|
|
|
[/ Repeat with explicit ids]
|
|
|
|
[h1:a1 H1]
|
|
|
|
[section:s1 S1]
|
|
|
|
[h2:a2 H2]
|
|
|
|
[section:s2 S2]
|
|
|
|
[h3:a3 H3]
|
|
|
|
[endsect]
|
|
|
|
[h2:a4 H4]
|
|
|
|
[section:s3 S3]
|
|
|
|
[h3:a5 H5]
|
|
|
|
[endsect]
|
|
|
|
[heading:a6 H6]
|
|
|
|
[endsect]
|
|
|
|
[h1:a7 H7]
|
|
|
|
[template thing[] abc]
|
|
[heading:[thing]-2 Template Id]
|