Port greater blocker over to ak_element!().
This commit is contained in:
@@ -74,7 +74,14 @@ fn _element<'b, 'g, 'r, 's>(
|
||||
Element::PlainList
|
||||
);
|
||||
|
||||
let greater_block_matcher = parser_with_context!(greater_block)(context);
|
||||
ak_element!(
|
||||
greater_block,
|
||||
&mut affiliated_keywords,
|
||||
post_affiliated_keywords_input,
|
||||
context,
|
||||
input
|
||||
);
|
||||
|
||||
let dynamic_block_matcher = parser_with_context!(dynamic_block)(context);
|
||||
let footnote_definition_matcher = parser_with_context!(footnote_definition)(context);
|
||||
let comment_matcher = parser_with_context!(comment)(context);
|
||||
@@ -101,7 +108,6 @@ fn _element<'b, 'g, 'r, 's>(
|
||||
let _enter = span.enter();
|
||||
|
||||
opt(alt((
|
||||
greater_block_matcher,
|
||||
map(dynamic_block_matcher, Element::DynamicBlock),
|
||||
map(footnote_definition_matcher, Element::FootnoteDefinition),
|
||||
map(comment_matcher, Element::Comment),
|
||||
|
||||
Reference in New Issue
Block a user