Test cases showing headings handling nesting properly.
This commit is contained in:
parent
3a0a4c8953
commit
e3f6dd497a
@ -110,7 +110,6 @@ pub enum ContextElement<'r, 's> {
|
|||||||
ExitMatcherNode(ExitMatcherNode<'r>),
|
ExitMatcherNode(ExitMatcherNode<'r>),
|
||||||
Context(&'r str),
|
Context(&'r str),
|
||||||
ListItem(usize),
|
ListItem(usize),
|
||||||
StartOfParagraph,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
@ -15,3 +15,8 @@ text*
|
|||||||
* Heading
|
* Heading
|
||||||
|
|
||||||
body of heading
|
body of heading
|
||||||
|
|
||||||
|
** Child heading
|
||||||
|
** Immediate second child heading
|
||||||
|
|
||||||
|
* Second top-level heading
|
||||||
|
Loading…
x
Reference in New Issue
Block a user