diff --git a/docs/examples/cmark_spec_0.30.yml b/docs/examples/cmark_spec_0.30.yml
index eb6d058..e59d184 100644
--- a/docs/examples/cmark_spec_0.30.yml
+++ b/docs/examples/cmark_spec_0.30.yml
@@ -4,7 +4,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: "foo\tbaz\t\tbim"
myst: "\tfoo\tbaz\t\tbim\n"
html: "
foo\tbaz\t\tbim\n
\n"
@@ -13,7 +14,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: "foo\tbaz\t\tbim"
myst: " \tfoo\tbaz\t\tbim\n"
html: "foo\tbaz\t\tbim\n
\n"
@@ -22,7 +24,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: "a\ta\nὐ\ta"
myst: " a\ta\n ὐ\ta\n"
html: "a\ta\nὐ\ta\n
\n"
@@ -32,10 +35,12 @@ cases:
children:
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
spread: true
+ checked: null
children:
- type: paragraph
children:
@@ -59,17 +64,20 @@ cases:
children:
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
spread: true
+ checked: null
children:
- type: paragraph
children:
- type: text
value: foo
- type: code
- lang: ''
+ lang: null
+ meta: null
value: ' bar'
myst: "- foo\n\n\t\tbar\n"
html: |-
@@ -87,7 +95,8 @@ cases:
- type: blockquote
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: ' foo'
myst: ">\t\tfoo\n"
html: |-
@@ -101,13 +110,16 @@ cases:
children:
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: ' foo'
myst: "-\t\tfoo\n"
html: |-
@@ -122,7 +134,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
foo
bar
@@ -137,31 +150,43 @@ cases:
children:
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: foo
+ - type: paragraph
+ children:
+ - type: text
+ value: foo
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: bar
+ - type: paragraph
+ children:
+ - type: text
+ value: bar
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: baz
+ - type: paragraph
+ children:
+ - type: text
+ value: baz
myst: " - foo\n - bar\n\t - baz\n"
html: |-
@@ -304,7 +329,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: \[\]
myst: |2
\[\]
@@ -316,7 +342,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: \[\]
myst: |
~~~
@@ -332,7 +359,8 @@ cases:
- type: paragraph
children:
- type: link
- url: http://example.com?find=%5C*
+ title: null
+ url: http://example.com?find=\*
children:
- type: text
value: http://example.com?find=\*
@@ -358,8 +386,8 @@ cases:
- type: paragraph
children:
- type: link
- url: /bar*
title: ti*tle
+ url: /bar*
children:
- type: text
value: foo
@@ -373,12 +401,18 @@ cases:
children:
- type: paragraph
children:
- - type: link
- url: /bar*
- title: ti*tle
+ - type: linkReference
children:
- type: text
value: foo
+ label: foo
+ identifier: foo
+ referenceType: shortcut
+ - type: definition
+ identifier: foo
+ label: foo
+ title: ti*tle
+ url: /bar*
myst: |
[foo]
@@ -391,6 +425,7 @@ cases:
children:
- type: code
lang: foo+bar
+ meta: null
value: foo
myst: |
``` foo\+bar
@@ -406,7 +441,7 @@ cases:
- type: paragraph
children:
- type: text
- value: "\u0020 & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸"
+ value: "\_ & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸"
myst: |
& © Æ Ď
¾ ℋ ⅆ
@@ -502,8 +537,8 @@ cases:
- type: paragraph
children:
- type: link
- url: /f%C3%B6%C3%B6
title: föö
+ url: /föö
children:
- type: text
value: foo
@@ -517,12 +552,18 @@ cases:
children:
- type: paragraph
children:
- - type: link
- url: /f%C3%B6%C3%B6
- title: föö
+ - type: linkReference
children:
- type: text
value: foo
+ label: foo
+ identifier: foo
+ referenceType: shortcut
+ - type: definition
+ identifier: foo
+ label: foo
+ title: föö
+ url: /föö
myst: |
[foo]
@@ -535,6 +576,7 @@ cases:
children:
- type: code
lang: föö
+ meta: null
value: foo
myst: |
``` föö
@@ -560,7 +602,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: föfö
myst: |2
föfö
@@ -596,13 +639,17 @@ cases:
value: '* foo'
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: foo
+ - type: paragraph
+ children:
+ - type: text
+ value: foo
myst: |
* foo
@@ -658,18 +705,25 @@ cases:
children:
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: '`one'
+ - type: paragraph
+ children:
+ - type: text
+ value: '`one'
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: two`
+ - type: paragraph
+ children:
+ - type: text
+ value: two`
myst: |
- `one
- two`
@@ -744,7 +798,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: '***'
myst: |2
***
@@ -858,23 +913,31 @@ cases:
children:
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: foo
+ - type: paragraph
+ children:
+ - type: text
+ value: foo
- type: thematicBreak
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: bar
+ - type: paragraph
+ children:
+ - type: text
+ value: bar
myst: |
- foo
***
@@ -934,23 +997,31 @@ cases:
children:
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: Foo
+ - type: paragraph
+ children:
+ - type: text
+ value: Foo
- type: thematicBreak
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: Bar
+ - type: paragraph
+ children:
+ - type: text
+ value: Bar
myst: |
* Foo
* * *
@@ -969,15 +1040,20 @@ cases:
children:
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: Foo
+ - type: paragraph
+ children:
+ - type: text
+ value: Foo
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- type: thematicBreak
myst: |
@@ -1145,7 +1221,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: '# foo'
myst: |2
# foo
@@ -1471,7 +1548,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
Foo
---
@@ -1658,13 +1736,17 @@ cases:
children:
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: Foo
+ - type: paragraph
+ children:
+ - type: text
+ value: Foo
- type: thematicBreak
myst: |
- Foo
@@ -1696,12 +1778,8 @@ cases:
mdast:
type: root
children:
- - type: thematicBreak
- - type: heading
- depth: 2
- children:
- - type: text
- value: Foo
+ - type: yaml
+ value: Foo
- type: heading
depth: 2
children:
@@ -1740,8 +1818,8 @@ cases:
mdast:
type: root
children:
- - type: thematicBreak
- - type: thematicBreak
+ - type: yaml
+ value: ''
myst: |
---
---
@@ -1754,13 +1832,17 @@ cases:
children:
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: foo
+ - type: paragraph
+ children:
+ - type: text
+ value: foo
- type: thematicBreak
myst: |
- foo
@@ -1775,7 +1857,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: foo
- type: thematicBreak
myst: |2
@@ -1924,7 +2007,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
a simple
indented code block
@@ -1941,10 +2025,12 @@ cases:
children:
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
spread: true
+ checked: null
children:
- type: paragraph
children:
@@ -1976,6 +2062,7 @@ cases:
children:
- type: listItem
spread: true
+ checked: null
children:
- type: paragraph
children:
@@ -1983,13 +2070,17 @@ cases:
value: foo
- type: list
ordered: false
+ start: null
spread: false
children:
- type: listItem
- spread: true
+ spread: false
+ checked: null
children:
- - type: text
- value: bar
+ - type: paragraph
+ children:
+ - type: text
+ value: bar
myst: |
1. foo
@@ -2008,7 +2099,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
*hi*
@@ -2030,7 +2122,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
chunk1
@@ -2061,7 +2154,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
chunk1
@@ -2097,7 +2191,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: foo
- type: paragraph
children:
@@ -2120,7 +2215,8 @@ cases:
- type: text
value: Heading
- type: code
- lang: ''
+ lang: null
+ meta: null
value: foo
- type: heading
depth: 2
@@ -2128,7 +2224,8 @@ cases:
- type: text
value: Heading
- type: code
- lang: ''
+ lang: null
+ meta: null
value: foo
- type: thematicBreak
myst: |
@@ -2151,7 +2248,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |2-
foo
bar
@@ -2167,7 +2265,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: foo
myst: |2+
@@ -2183,7 +2282,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: 'foo '
myst: ' foo '
html: |-
@@ -2194,7 +2294,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
<
>
@@ -2212,7 +2313,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
<
>
@@ -2244,7 +2346,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
aaa
~~~
@@ -2262,7 +2365,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
aaa
```
@@ -2280,7 +2384,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
aaa
```
@@ -2298,7 +2403,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
aaa
~~~
@@ -2316,7 +2422,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: ''
myst: |
```
@@ -2327,7 +2434,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
```
@@ -2349,7 +2457,8 @@ cases:
- type: blockquote
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: aaa
- type: paragraph
children:
@@ -2371,9 +2480,11 @@ cases:
type: root
children:
- type: code
- lang: ''
- value: "\n "
+ lang: null
+ meta: null
+ value: |2-
+
myst: |
```
@@ -2388,7 +2499,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: ''
myst: |
```
@@ -2400,7 +2512,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
aaa
aaa
@@ -2418,7 +2531,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
aaa
aaa
@@ -2439,7 +2553,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
aaa
aaa
@@ -2460,7 +2575,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
```
aaa
@@ -2479,7 +2595,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: aaa
myst: |
```
@@ -2493,7 +2610,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: aaa
myst: |2
```
@@ -2507,7 +2625,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
aaa
```
@@ -2542,7 +2661,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: |-
aaa
~~~ ~~
@@ -2563,7 +2683,8 @@ cases:
- type: text
value: foo
- type: code
- lang: ''
+ lang: null
+ meta: null
value: bar
- type: paragraph
children:
@@ -2590,7 +2711,8 @@ cases:
- type: text
value: foo
- type: code
- lang: ''
+ lang: null
+ meta: null
value: bar
- type: heading
depth: 1
@@ -2615,6 +2737,7 @@ cases:
children:
- type: code
lang: ruby
+ meta: null
value: |-
def foo(x)
return 3
@@ -2636,6 +2759,7 @@ cases:
children:
- type: code
lang: ruby
+ meta: startline=3 $%@#$
value: |-
def foo(x)
return 3
@@ -2657,6 +2781,7 @@ cases:
children:
- type: code
lang: ;
+ meta: null
value: ''
myst: |
````;
@@ -2687,6 +2812,7 @@ cases:
children:
- type: code
lang: aa
+ meta: '``` ~~~'
value: foo
myst: |
~~~ aa ``` ~~~
@@ -2700,7 +2826,8 @@ cases:
type: root
children:
- type: code
- lang: ''
+ lang: null
+ meta: null
value: '``` aaa'
myst: |
```
@@ -2795,7 +2922,7 @@ cases: