Hexo-theme-next: Why my mathjax can not display correctly? [solved]

Created on 26 Apr 2018  ·  8Comments  ·  Source: theme-next/hexo-theme-next

Hi , sorry to bother everyone .

I have something wrong in my blog , and can not search any help . Therefore , I have to ask someone for help and a lot thanks to you .

In my blog , I wrote some formulas.
And one is work correctly , another is not .

Uncorrectly :
In editor:
image
In blog:
image

Correctly :
In editor :
image

In blog :
image

Anyone can help me ?

I am very appreciate for you help .

Solved

Most helpful comment

All 8 comments

which hexo render tool do u use ?

Could you please provide the following information?

  • Node.js and NPM version ($node -v && npm -v)?
  • Hexo version ($hexo -v)?
  • Your site package dependencies ($cat package.json)?

  1. image
    2.
    image
    3.
    image

@ivan-nginx @sli1989
A lot thanks to you .
At first , I doubt that I use wrong Latex grammar.

image
image

I found if I use the "" to transferred meaning , then everything are ok .
( Exchange the numbers on both sides of the multiplication sign is can't work well too ).

If I have to transfer meanning , why another which not transferred meaning is work well ?

@xiekeyi98 , apparently it has something to do with your renderer. See here for an explanation. A solution might be:

  1. Uninstall hexo-renderer-marked
  2. install hexo-renderer-pandoc

@jdhao
Cool!
You have solved my problem perfectly! Thank you very much .

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leeyongda picture leeyongda  ·  3Comments

Linters picture Linters  ·  3Comments

yidasanqian picture yidasanqian  ·  5Comments

kuretru picture kuretru  ·  3Comments

cong picture cong  ·  5Comments