Open fuhailin opened 5 years ago
You only need to choose one between hexo-renderer-markdown-it and hexo-renderer-kramed. They are both markdown renderers.
@fuhailin I also have this problem, Need to use four backslashes to escape newlines. You can try markdown-it-latex2img
"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 installhexo-renderer-kramed
, Multi-line LaTex Equation display perfectly, but while installinghexo-renderer-markdown-it
andhexo-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.