Compare plain list item pre blank.

This commit is contained in:
Tom Alexander
2023-09-29 19:30:02 -04:00
parent 7727b5ef47
commit 064a4eeee7
4 changed files with 26 additions and 2 deletions

View File

@@ -29,10 +29,12 @@ pub struct PlainListItem<'s> {
pub counter: Option<PlainListItemCounter>,
pub checkbox: Option<(CheckboxType, &'s str)>,
pub tag: Vec<Object<'s>>,
pub pre_blank: PlainListItemPreBlank,
pub children: Vec<Element<'s>>,
}
pub type PlainListItemCounter = u16;
pub type PlainListItemPreBlank = u8;
#[derive(Debug)]
pub enum CheckboxType {

View File

@@ -25,6 +25,7 @@ pub use greater_element::NodeProperty;
pub use greater_element::PlainList;
pub use greater_element::PlainListItem;
pub use greater_element::PlainListItemCounter;
pub use greater_element::PlainListItemPreBlank;
pub use greater_element::PlainListType;
pub use greater_element::PropertyDrawer;
pub use greater_element::Table;