hexo-theme-next icon indicating copy to clipboard operation
hexo-theme-next copied to clipboard

Next + Pandoc数学公式不能正确换行

Open LYK-love opened this issue 3 years ago • 3 comments

Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate. 请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。

Issue Checklist


Hexo版本: 6.2.0

Next版本: 8.12.3

使用pandoc渲染, 无法正确渲染Latex换行: image

image image

LYK-love avatar Aug 21 '22 11:08 LYK-love

I guess this is not an issue of the theme. You may try \displaylines{x = a + b \\ y = b + c} as suggested in https://github.com/mathjax/MathJax/issues/2312#issuecomment-538185951.

roosephu avatar Aug 23 '22 05:08 roosephu

I guess this is not an issue of the theme. You may try \displaylines{x = a + b \\ y = b + c} as suggested in mathjax/MathJax#2312 (comment).

这样做需要重写很多文档. 能不能通过改用低版本的pandoc或者换其他latex渲染器解决这个问题?

LYK-love avatar Aug 23 '22 08:08 LYK-love

可以换 KaTeX 引擎 https://theme-next.js.org/docs/third-party-services/math-equations.html

stevenjoezhang avatar Aug 24 '22 02:08 stevenjoezhang

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.

github-actions[bot] avatar Oct 03 '23 00:10 github-actions[bot]