demydd / pandoc

Automatically exported from code.google.com/p/pandoc
0 stars 0 forks source link

Space around $$ in markdown display math #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently pandoc requires that the $$ that mark out a display math
environment are adjacent to the math itself:
yes: $$e = mc^2$$
no:  $$  e = mc^2 $$
But it is natural to write display math on a separate line:
$$
e = mc^2
$$
and there seems to be little danger of capturing $'s used to indicate
currency when they are doubled like this.

So, I propose to change pandoc's behavior to allow space after the opening
$$ and before the closing $$.

Original issue reported on code.google.com by fiddloso...@gmail.com on 9 Nov 2008 at 12:36

GoogleCodeExporter commented 8 years ago

Original comment by fiddloso...@gmail.com on 9 Nov 2008 at 12:36

GoogleCodeExporter commented 8 years ago
Fixed in r1494.

Original comment by fiddloso...@gmail.com on 25 Nov 2008 at 12:09