1 | cases:
|
2 | - title: CommonMark headings
|
3 | id: heading
|
4 | mdast:
|
5 | type: root
|
6 | children:
|
7 | - type: heading
|
8 | depth: 3
|
9 | children:
|
10 | - type: text
|
11 | value: Heading!
|
12 | myst: |-
|
13 | ### Heading!
|
14 | html: |-
|
15 | <h3>Heading!</h3>
|
16 | - title: CommonMark setext headings
|
17 | description: https://spec.commonmark.org/0.30/#setext-headings
|
18 | mdast:
|
19 | type: root
|
20 | children:
|
21 | - type: heading
|
22 | depth: 1
|
23 | children:
|
24 | - type: text
|
25 | value: Heading 1
|
26 | - type: heading
|
27 | depth: 2
|
28 | children:
|
29 | - type: text
|
30 | value: Heading 2
|
31 | myst: |-
|
32 | Heading 1
|
33 | =========
|
34 |
|
35 | Heading 2
|
36 | ---------
|
37 | html: |-
|
38 | <h1>Heading 1</h1>
|
39 | <h2>Heading 2</h2>
|
40 | latex: |-
|
41 | \section*{Heading 1}
|
42 | \subsection*{Heading 2}
|