<!-- tests from https://github.com/Rokt33r/remark-math/blob/9e13e49/specs/remark-math.spec.js -->

$$
\beta+\gamma
$$

---

$\alpha\$

---

\$\alpha\$

---

\\$\alpha$

---

`$`\alpha$

---

$\alpha`$` foo

---

$`\alpha`$

---

$\alpha\$$

---

$$
\alpha\$
$$

---

tango
$$
\alpha
$$

---

$$\\alpha$$

---

$$\alpha$$
$$
\alpha\beta
$$

---

> $$
> \alpha\beta
> $$

---

  $$$
    \alpha
  $$$

---

$$  must
\alpha
$$  be ignored

---

$$
\alpha
$$
```
code fence
```
