From 2e3b7abaa9877b658fa4f8f2612acc617dff60bb Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 12 Jul 2022 17:47:08 +0200 Subject: Fix a lot of list things * Add `ListItem`, `ListOrdered`, and `ListUnordered` tokens * Add support for multiline list items * Add support for tight lists * Fix bug where 10 digit long list item values worked * Fix skip bug when skipping over nested events --- src/token.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/token.rs') diff --git a/src/token.rs b/src/token.rs index f60f9cd..889c3ba 100644 --- a/src/token.rs +++ b/src/token.rs @@ -1767,7 +1767,9 @@ pub enum Token { ThematicBreakSequence, // To do: sort. - List, + ListOrdered, + ListUnordered, + ListItem, ListItemPrefix, ListItemValue, ListItemMarker, -- cgit