Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexo-renderer-markdown-it can't render Multi-line LaTex Equation properly #64

Open
fuhailin opened this issue Jan 8, 2019 · 2 comments

Comments

@fuhailin
Copy link

fuhailin commented Jan 8, 2019

"hexo-renderer-markdown-it": "^3.4.1" can't render Multi-line LaTex Equation properly.

After some searching, I found MathJax is the most powerful mathematical notation renderer, so I found "hexo-renderer-kramed": "^0.1.4".

I uninstall hexo-renderer-markdown-it and install hexo-renderer-kramed, Multi-line LaTex Equation display perfectly, but while installing hexo-renderer-markdown-it and hexo-renderer-kramed together, multi-line LaTex Equation can't display.

I guess hexo-renderer-markdown-it render LaTex conflicted with hexo-renderer-kramed.
So how to disable default mathematical notation renderer in hexo-renderer-markdown-it and support MathJax.

@stevenjoezhang
Copy link
Member

You only need to choose one between hexo-renderer-markdown-it and hexo-renderer-kramed. They are both markdown renderers.

@MakerGYT
Copy link

MakerGYT commented Jun 13, 2020

@fuhailin I also have this problem, Need to use four backslashes to escape newlines.
You can try markdown-it-latex2img

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants