mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 21:25:48 +00:00
18 lines
243 B
Markdown
18 lines
243 B
Markdown
```
|
|
% pandoc -t markdown -f native
|
|
[ Para [ Math DisplayMath "\ne = mc^2\n" ] ]
|
|
^D
|
|
$$
|
|
e = mc^2
|
|
$$
|
|
```
|
|
|
|
But we need to collapse spaces around inline math:
|
|
|
|
```
|
|
% pandoc -t markdown -f native
|
|
[ Para [ Math InlineMath "\ne=mc\n" ]]
|
|
^D
|
|
$e=mc$
|
|
```
|