Input
= Outer
- item
== Inner Section
inner content
outer content Output AST
- type: Section
level: 1
heading:
- type: Text
value: Outer
children:
- type: List
kind: bullet
loose: true
children:
- type: ListItem
children:
- type: Paragraph
children:
- type: Text
value: item
- type: Section
level: 2
heading:
- type: Text
value: Inner Section
children:
- type: Paragraph
children:
- type: Text
value: inner content
- type: Paragraph
children:
- type: Text
value: outer content