mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 17:56:32 +00:00
Add test for #7155.
This commit is contained in:
@@ -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"]]
|
||||
```
|
||||
Reference in New Issue
Block a user