diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-03-17 09:02:20 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-03-17 09:10:37 -0700 |
commit | e66bf891ec21cc09611c5be4e4847fccd39e0084 (patch) | |
tree | 2199db43a15d63428e2ccaad32d5a8fa1384ac93 /test/command/7155.md | |
parent | 0b1869fd428835e01e91fc2005aa3907c0deeba8 (diff) | |
download | pandoc-e66bf891ec21cc09611c5be4e4847fccd39e0084.tar.gz |
Add test for #7155.
Diffstat (limited to 'test/command/7155.md')
-rw-r--r-- | test/command/7155.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/7155.md b/test/command/7155.md new file mode 100644 index 000000000..49358bf97 --- /dev/null +++ b/test/command/7155.md @@ -0,0 +1,15 @@ +``` +% pandoc -f markdown+tex_math_single_backslash -t native +\(x\) \[x\] +\\(x\\) \\[x\\] +^D +[Para [Math InlineMath "x",Space,Math DisplayMath "x",SoftBreak,Str "\\(x\\)",Space,Str "\\[x\\]"]] +``` + +``` +% pandoc -f markdown+tex_math_double_backslash -t native +\(x\) \[x\] +\\(x\\) \\[x\\] +^D +[Para [Str "(x)",Space,Str "[x]",SoftBreak,Math InlineMath "x",Space,Math DisplayMath "x"]] +``` |