MOxFIVE / hexo-theme-yelee

简而不减 Hexo 双栏博客主题; Another simple and elegant theme for Hexo.
http://moxfive.xyz/
1.38k stars 328 forks source link

mathjax公式没有办法正常显示 #97

Closed huangjj27 closed 8 years ago

huangjj27 commented 8 years ago

代码如下: $$ h{\theta}(x) = \theta ^ t \cdot x \ J(\theta) = \frac{1}{2}(y-h{\theta}(x))^2 $$

MOxFIVE commented 8 years ago

需要主题配置中开启 MathJax

# Display Math(LaTeX, MathML...) | 数学公式支持
mathjax: true
huangjj27 commented 8 years ago

主题配置没有效果,最后在博客配置上增加了hexo-math插件解决。

Seraphli commented 7 years ago

注意:公式中的下划线会被markdown误认为是斜体格式而被转换掉,使用\_来跳过这种转换