使用前需要在 Markdown 文件开头加入

_posts/xxx.md
1
2
3
---
mathjax: true
---

$$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$

_posts/xxx.md
1
$$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$