1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
``` % 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$ ```