git.iko.soy/typeable/pandoc
on master help sign in
Add test for #7155.
commite66bf891ec21cc09611c5be4e4847fccd39e0084 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 17 Mar 2021, 09:02 (6 years ago) parent0b1869f
1 file changed+15
test/command/7155.md+15
test/command/7155.mdnew file+15
@@ -0,0 +1,15 @@
1+```
2+% pandoc -f markdown+tex_math_single_backslash -t native
3+\(x\) \[x\]
4+\\(x\\) \\[x\\]
5+^D
6+[Para [Math InlineMath "x",Space,Math DisplayMath "x",SoftBreak,Str "\\(x\\)",Space,Str "\\[x\\]"]]
7+```
8+
9+```
10+% pandoc -f markdown+tex_math_double_backslash -t native
11+\(x\) \[x\]
12+\\(x\\) \\[x\\]
13+^D
14+[Para [Str "(x)",Space,Str "[x]",SoftBreak,Math InlineMath "x",Space,Math DisplayMath "x"]]
15+```