From 3a38f4cd356a38fbd6806f53d30b018033337390 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Fri, 25 Aug 2023 04:28:24 -0400 Subject: [PATCH] Add support for the ast entity. --- src/parser/entity.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/parser/entity.rs b/src/parser/entity.rs index 3134e966..fdabd086 100644 --- a/src/parser/entity.rs +++ b/src/parser/entity.rs @@ -45,7 +45,11 @@ fn name<'r, 's>( // TODO: This should be defined by org-entities and optionally org-entities-user // TODO: Add the rest of the entities, this is a very incomplete list - let (remaining, proto) = alt((alt((tag_no_case("delta"), tag_no_case("pi"))),))(input)?; + let (remaining, proto) = alt((alt(( + tag_no_case("delta"), + tag_no_case("pi"), + tag_no_case("ast"), + )),))(input)?; Ok((remaining, proto)) }