From 73c934c87a9a76cbd7930222a3d072fb5795ea3c Mon Sep 17 00:00:00 2001 From: Bnchi Date: Fri, 11 Oct 2024 14:12:02 +0300 Subject: [PATCH] Add inline math as phrasing --- mdast_util_to_markdown/src/handle/root.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/mdast_util_to_markdown/src/handle/root.rs b/mdast_util_to_markdown/src/handle/root.rs index bcd84648..a3b27318 100644 --- a/mdast_util_to_markdown/src/handle/root.rs +++ b/mdast_util_to_markdown/src/handle/root.rs @@ -35,6 +35,7 @@ fn phrasing(child: &Node) -> bool { | Node::Emphasis(_) | Node::ImageReference(_) | Node::Image(_) + | Node::InlineMath(_) | Node::InlineCode(_) | Node::LinkReference(_) | Node::Link(_)