```
% pandoc -f dokuwiki -t native
<latex>$\sum_{\substack{(i,j) \in I^2 \i \neq j}}$</latex>
^D
[ Para
    [ RawInline
        (Format "latex")
        "$\\sum_{\\substack{(i,j) \\in I^2 \\i \\neq j}}$"
    ]
]
```

```
% pandoc -f dokuwiki+tex_math_dollars -t native
$mc^2$
^D
[ Para [ Math InlineMath "mc^2" ] ]
```

```
% pandoc -f dokuwiki -t native
$mc^2$
^D
[ Para [ Str "$mc^2$" ] ]
```
