Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/from-markdown/lists/ol/basic/input.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1. Hello
2. World
20 changes: 20 additions & 0 deletions test/from-markdown/lists/ol/basic/output.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
nodes:
- kind: block
type: ordered_list
nodes:
- kind: block
type: list_item
nodes:
- kind: block
type: unstyled
nodes:
- kind: text
text: Hello
- kind: block
type: list_item
nodes:
- kind: block
type: unstyled
nodes:
- kind: text
text: World
5 changes: 5 additions & 0 deletions test/from-markdown/lists/ol/followed-by-ul/input.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1. Hello
2. World

* Bonjour
* Monde
39 changes: 39 additions & 0 deletions test/from-markdown/lists/ol/followed-by-ul/output.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
nodes:
- kind: block
type: ordered_list
nodes:
- kind: block
type: list_item
nodes:
- kind: block
type: unstyled
nodes:
- kind: text
text: Hello
- kind: block
type: list_item
nodes:
- kind: block
type: unstyled
nodes:
- kind: text
text: World
- kind: block
type: unordered_list
nodes:
- kind: block
type: list_item
nodes:
- kind: block
type: unstyled
nodes:
- kind: text
text: Bonjour
- kind: block
type: list_item
nodes:
- kind: block
type: unstyled
nodes:
- kind: text
text: Monde