Port footnote definition.
This commit is contained in:
@@ -89,7 +89,15 @@ fn _element<'b, 'g, 'r, 's>(
|
||||
Element::DynamicBlock
|
||||
);
|
||||
|
||||
let footnote_definition_matcher = parser_with_context!(footnote_definition)(context);
|
||||
ak_element!(
|
||||
footnote_definition,
|
||||
&mut affiliated_keywords,
|
||||
post_affiliated_keywords_input,
|
||||
context,
|
||||
input,
|
||||
Element::FootnoteDefinition
|
||||
);
|
||||
|
||||
let comment_matcher = parser_with_context!(comment)(context);
|
||||
let drawer_matcher = parser_with_context!(drawer)(context);
|
||||
let table_matcher = parser_with_context!(org_mode_table)(context);
|
||||
@@ -113,7 +121,6 @@ fn _element<'b, 'g, 'r, 's>(
|
||||
let _enter = span.enter();
|
||||
|
||||
opt(alt((
|
||||
map(footnote_definition_matcher, Element::FootnoteDefinition),
|
||||
map(comment_matcher, Element::Comment),
|
||||
map(drawer_matcher, Element::Drawer),
|
||||
map(table_matcher, Element::Table),
|
||||
|
||||
Reference in New Issue
Block a user