githuber-md icon indicating copy to clipboard operation
githuber-md copied to clipboard

Errors in MathJax and KaTex inline

Open dishangti opened this issue 4 years ago • 3 comments

Something is wrong while using inline KaTex and MathJax. It could display correctly on preview screen, but it worked unproperly after posting. I'm using the newest WP version, and this problem happened even when using the examples on the plug-in.

dishangti avatar Nov 01 '20 03:11 dishangti

I also have the same problem as the following pictures show! @dishangti, My environment is WordPress 5.3.3, Which is installed today (1st December, TimeZone: Asia/Shanghai), the more info about the environment references this repository, https://github.com/docker-library/wordpress.

SnailDove avatar Dec 01 '20 14:12 SnailDove

I've tried a lot of things, but the problem on my site is that because underlining in markdown represents italics, a < em > tag is automatically added after publication, causing mathjax to fail to recognize $across two < em > tags. I have tried to correctly display the formula after escaping the underscore when editing markdown. If you are different from me, you can talk to me about how to solve it. Thank you. 我尝试过很多办法,在我的网站上问题在于,因为在markdown中下划代表斜体,发布后会自动添加标签,导致mathjax无法识别跨越两个标签的$。我试过在编辑markdown时转义下划线后可以正确显示公式,如果你和我情况不一样也可以交流一下如何解决,谢谢

lanyun1103 avatar Jan 07 '21 04:01 lanyun1103

This problem has been solved.

hushanjushi avatar Jan 22 '21 15:01 hushanjushi

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] avatar Jun 20 '23 00:06 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jun 22 '23 00:06 github-actions[bot]