aboutsummaryrefslogtreecommitdiff
path: root/test/command/7155.md
blob: 454c387d5f4d4c0763354e77544830df0f747ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
```
% 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"
    ]
]
```