Gmeek icon indicating copy to clipboard operation
Gmeek copied to clipboard

行内公式显示不正常

Open stayt1 opened this issue 1 year ago • 5 comments

大佬,发现一个或许是 bug,在我 issue 那边行内公式是显示正常的,但是转成html之后就不正常了,希望大佬能修一下

Issue 版本

image

Gmeek 版本

image

stayt1 avatar Mar 30 '24 08:03 stayt1

@stayt1 能给一下你这篇文章的地址吗?我目前无法找到你仓库下面有Gmeek的项目。

Meekdai avatar Apr 01 '24 01:04 Meekdai

https://github.com/stayt2/stayt2.github.io

这个是截图的链接 https://stayt2.github.io/post/duo-tou-zhu-yi-li-ji-zhi-2---shi-xian.html

stayt1 avatar Apr 01 '24 05:04 stayt1

@stayt1 目前已经定位到问题的原因了,这几天就会更新版本修复这个BUG,谢谢。

原因是MathJax 需要再配置一下下面这个变量就行了。

<script>MathJax = {tex: {inlineMath: [['$', '$'], ['\\(', '\\)']]}};</script>

https://docs.mathjax.org/en/latest/web/start.html#configuring-mathjax

Meekdai avatar Apr 01 '24 06:04 Meekdai

谢谢

stayt1 avatar Apr 01 '24 06:04 stayt1

新版本v2.15 目前已经修复行内公式的BUG,具体可看更新日志,以及快速上手

Meekdai avatar Apr 03 '24 00:04 Meekdai