MathJax 与 markdown :插入数学公式


\[\theta_i = \theta_i - \alpha\frac\partial{\partial\theta_i}J(\theta) \]

\[\vec r = \vec p + \vec a t \]

参考

  • 使用 Markdown + MathJax 在博客里插入数学公式
  • Use beautiful math on your website with MathJax
  • Math (LaTeX) in Markdown

使用方法

cnglog会提示启用数学公式设置,勾选使能数学公式。







$$
\theta_i = \theta_i - \alpha\frac\partial{\partial\theta_i}J(\theta)
$$

$$\vec r = \vec p + \vec a t$$