Support leading whitespace for list items.

This commit is contained in:
Tom Alexander
2023-03-17 16:37:47 -04:00
parent 37070689c6
commit 32897270a5
5 changed files with 26 additions and 9 deletions

View File

@@ -110,6 +110,7 @@ impl<'a> Source<'a> for PlainList<'a> {
#[derive(Debug)]
pub struct ListItem<'a> {
pub source: &'a str,
pub leading_whitespace: &'a str,
pub bullet: &'a str,
pub counter_set: Option<&'a str>,
pub check_box: Option<&'a str>,