Add TODO.

This commit is contained in:
Tom Alexander 2023-03-19 18:28:59 -04:00
parent a5a03126d2
commit e3f0aaefdf
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -114,6 +114,7 @@ pub fn item_end<'r, 's>(context: Context<'r, 's>, i: &'s str) -> Res<&'s str, &'
let item_matcher = parser_with_context!(item)(&context);
let line_indented_matcher = parser_with_context!(line_indented_lte)(&context);
alt((
// TODO: This should be two blank lines and it ends ALL of the items
paragraph_end,
recognize(tuple((line_ending, peek(line_indented_matcher)))),
// TODO: Do we still need the item_matcher entry here? If we remove it, then child items should become part of the body of the parent item which would match the description on https://orgmode.org/worg/org-syntax.html