size: 707 B

1Math goes in verbatim spans prefixed with either `$` (for
2inline math) or `$$` (for display math).
3
4```
5$`e=mc^2`
6.
7<p><span class="math inline">\(e=mc^2\)</span></p>
8```
9
10```
11My equation: $`e=mc^2`
12.
13<p>My equation: <span class="math inline">\(e=mc^2\)</span></p>
14```
15
16```
17$$`e=mc^2`
18.
19<p><span class="math display">\[e=mc^2\]</span></p>
20```
21
22```
23My equation: $$`e=mc^2`
24.
25<p>My equation: <span class="math display">\[e=mc^2\]</span></p>
26```
27
28Newlines are allowed, just as in verbatim:
29
30```
31$`e=
32mc^2`
33.
34<p><span class="math inline">\(e=
35mc^2\)</span></p>
36```
37
38`$` characters are allowed inside:
39
40```
41$`e=\text{the number $\pi$}`
42.
43<p><span class="math inline">\(e=\text{the number $\pi$}\)</span></p>
44```