Hexo-theme-next: mathjax cannot work

Created on 2 Oct 2016  ·  3Comments  ·  Source: iissnan/hexo-theme-next

Expected behavior (预期行为)

应该显示组合公式
image

Actual behavior (实际行为)

不能显示正确的公式
$$ C_{n-1}^k = C_{n-1}^{k-1} + C_{n-1}^{k-1} $$
image

Steps to reproduce the behavior (重现步骤)

$$ C_{n-1}^k = C_{n-1}^{k-1} + C_{n-1}^{k-1} $$

NexT Informations

Add the ✔ sign before an item which is affected by this behavior.

NexT Version:

  • Master ✔
  • Latest Release
  • Old version -

NexT Scheme:

  • All schemes
  • Muse ✔
  • Mist
  • Pisces

Other Informations (Like Browser, System, Screenshots)

Browser: Chrome
System: Mac OS

3rd party service Markdown

Most helpful comment

这个问题是由Hexo自带的Markdown渲染引擎和MathJax冲突引起的,解决方法很简单。更换Markdown渲染引擎就可以了。详细可以查看我的博文

This issue is caused by the conflict of hexo-renderer-marked(Hexo's default Markdown renderer) and MathJax. To fix this issue, you can simply change your markdown renderer. See the detail in my blog.

All 3 comments

这个问题是由Hexo自带的Markdown渲染引擎和MathJax冲突引起的,解决方法很简单。更换Markdown渲染引擎就可以了。详细可以查看我的博文

This issue is caused by the conflict of hexo-renderer-marked(Hexo's default Markdown renderer) and MathJax. To fix this issue, you can simply change your markdown renderer. See the detail in my blog.

非常感谢,familyld,解决了我的问题。

Thanks very much, familyld!!

@familyld 你好,我直接按照你的教程去做,结果发现块状LaTeX式子直接没有了,行内LaTeX还是没有解析出来。之后我就找了其他教程,使用了npm install hexo-renderer-markdown-it --save。可是不知道还是没有效果,我的博文,please check
第一次处理
default
第二次处理
Markdown

Was this page helpful?
0 / 5 - 0 ratings

Related issues

payne4handsome picture payne4handsome  ·  4Comments

winterrain5 picture winterrain5  ·  4Comments

Nirvanada picture Nirvanada  ·  4Comments

ifgao picture ifgao  ·  4Comments

aiplay picture aiplay  ·  4Comments