From 9223788a05fe619d567bcbdf4cb31db63de86f32 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 29 Jan 2021 18:29:17 -0800 Subject: Markdown writer: handle math right before digit. We insert an HTML comment to avoid a `$` right before a digit, which pandoc will not recognize as a math delimiter. --- test/command/7058.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/command/7058.md (limited to 'test/command') diff --git a/test/command/7058.md b/test/command/7058.md new file mode 100644 index 000000000..69e5dd445 --- /dev/null +++ b/test/command/7058.md @@ -0,0 +1,6 @@ +``` +% pandoc -f latex -t markdown +5\(-\)8 \(x\) +^D +5$-$``{=html}8 $x$ +``` -- cgit v1.2.3