Start of list item implementation.

This commit is contained in:
Tom Alexander
2022-12-18 07:18:42 -05:00
parent 62e5499150
commit 5e7c891681
3 changed files with 24 additions and 1 deletions

View File

@@ -110,6 +110,11 @@ impl<'a> Source<'a> for PlainList<'a> {
#[derive(Debug)]
pub struct ListItem<'a> {
pub source: &'a str,
pub bullet: &'a str,
pub counter_set: &'a str,
pub check_box: &'a str,
pub item_tag: &'a str,
pub contents: Vec<TextElement<'a>>,
}
impl<'a> Source<'a> for ListItem<'a> {