diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-01-29 18:29:17 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-01-29 18:29:17 -0800 |
commit | 9223788a05fe619d567bcbdf4cb31db63de86f32 (patch) | |
tree | a1ab1dc4c43e67c7062dc97e5617c725d2d36338 /test/command | |
parent | d82fe52a02e43d905f34830162def346d851fc5a (diff) | |
download | pandoc-9223788a05fe619d567bcbdf4cb31db63de86f32.tar.gz |
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.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/7058.md | 6 |
1 files changed, 6 insertions, 0 deletions
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$ +``` |