Math goes in verbatim spans prefixed with either `$` (for inline math) or `$$` (for display math). ``` $`e=mc^2` .

\(e=mc^2\)

``` ``` My equation: $`e=mc^2` .

My equation: \(e=mc^2\)

``` ``` $$`e=mc^2` .

\[e=mc^2\]

``` ``` My equation: $$`e=mc^2` .

My equation: \[e=mc^2\]

``` Newlines are allowed, just as in verbatim: ``` $`e= mc^2` .

\(e= mc^2\)

``` `$` characters are allowed inside: ``` $`e=\text{the number $\pi$}` .

\(e=\text{the number $\pi$}\)

```