行內公式:質能方程式 $E = mc^2$,以及 $\alpha + \beta = \gamma$。
區塊公式:
$$ \int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi} $$$$ \hat{\beta} = (X^\top X)^{-1} X^\top y $$在 front matter 加上 math: true 就會載入 KaTeX;沒有公式的文章不需要。
行內公式:質能方程式 $E = mc^2$,以及 $\alpha + \beta = \gamma$。
區塊公式:
$$ \int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi} $$$$ \hat{\beta} = (X^\top X)^{-1} X^\top y $$在 front matter 加上 math: true 就會載入 KaTeX;沒有公式的文章不需要。