Add initial implementation of footnote definition.

This commit is contained in:
Tom Alexander
2023-04-07 17:14:44 -04:00
parent d249e7c93e
commit 716f80b0ec
6 changed files with 103 additions and 5 deletions

View File

@@ -27,6 +27,7 @@ use nom::multi::many_till;
use nom::sequence::tuple;
pub fn plain_list<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str, PlainList<'s>> {
// TODO: Are we handling 2 blank lines causing the end of all plain lists?
let (mut remaining, first_item) = plain_list_item(context, input)?;
let first_item_indentation = first_item.indentation;
let plain_list_item_matcher = parser_with_context!(plain_list_item)(context);