blob: bc0317b379cb7a15d067b01d86ef26c4b5c41f26 (
plain) (
blame)
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
|
// Test headings.
---
// Different number of hashtags.
// Valid levels.
= Level 1
=== Level 2
====== Level 6
// Too many hashtags.
======= Level 7
---
// Heading vs. no heading.
// Parsed as headings if at start of the context.
/**/ = Level 1
{[== Level 2]}
#box[=== Level 3]
// Not at the start of the context.
No = heading
// Escaped.
\= No heading
---
// While indented at least as much as the start, the heading continues.
= This
is
indented.
= This
is not.
// Code blocks continue heading.
= A {
"B"
}
|