Add support for babel-call keywords.

This commit is contained in:
Tom Alexander
2023-09-06 18:04:53 -04:00
parent 90fa48661c
commit 6e2fc362ea
6 changed files with 68 additions and 0 deletions

View File

@@ -94,6 +94,7 @@ impl<'r, 's> Token<'r, 's> {
Element::FixedWidthArea(_) => Box::new(std::iter::empty()),
Element::HorizontalRule(_) => Box::new(std::iter::empty()),
Element::Keyword(_) => Box::new(std::iter::empty()),
Element::BabelCall(_) => Box::new(std::iter::empty()),
Element::LatexEnvironment(_) => Box::new(std::iter::empty()),
},
Token::PlainListItem(elem) => Box::new(elem.children.iter().map(Token::Element)),