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

数学公式渲染问题 #12470

Closed
88250 opened this Issue Jul 3, 2018 · 27 comments

Comments

Projects
None yet
3 participants
@88250
Member

88250 commented Jul 3, 2018

比如下面两个公式,你可以拷贝到编辑器中然后预览,都不会正确显示。发布后,第一个可以正确显示,第二个不行。

$\sqrt{(x1-x2)^{2} + (y1-y2)}$

$\sqrt{(x1-x2)^{2} + (y1-y2)^{2}}$

PS:我用的yilia皮肤。

#12469

Sym 的没问题,但是 Solo 的有。

@88250 88250 added the bug label Jul 3, 2018

@Vanessa219

This comment has been minimized.

Member

Vanessa219 commented Jul 4, 2018

@Vanessa219 Vanessa219 closed this Jul 4, 2018

@88250 88250 added this to the 2.9.2 milestone Jul 4, 2018

@longyg

This comment has been minimized.

longyg commented Jul 4, 2018

什么时候出2.9.2?

@88250

This comment has been minimized.

Member

88250 commented Jul 4, 2018

@longyg

This comment has been minimized.

longyg commented Jul 4, 2018

替换了这4个js文件,还是不起作用,是还有其他的修改吗?

@88250

This comment has been minimized.

Member

88250 commented Jul 4, 2018

你看下提交记录。

@longyg

This comment has been minimized.

longyg commented Jul 4, 2018

#12469 提交记录就是4个js文件有修改。

@longyg

This comment has been minimized.

longyg commented Jul 5, 2018

大佬,给点提示吧。。。

@88250

This comment has been minimized.

Member

88250 commented Jul 6, 2018

@Vanessa219 帮忙看下,他改了文件没生效。

@Vanessa219

This comment has been minimized.

Member

Vanessa219 commented Jul 6, 2018

@longyg 你的问题是编辑器预览不能显示数学公式,皮肤是可以正常显示的么?

强制刷新一下看看

@longyg

This comment has been minimized.

longyg commented Jul 6, 2018

编辑器预览和文章都不能正常显示!强制刷新过,也试过其他浏览器,都不行

@88250

This comment has been minimized.

Member

88250 commented Jul 6, 2018

贴下你博客地址我们看下。

@longyg

This comment has been minimized.

longyg commented Jul 6, 2018

www.yglong.com
第一篇文章里有数学公式

@Vanessa219

This comment has been minimized.

Member

Vanessa219 commented Jul 6, 2018

这个皮肤是第三方的,我已经联系作者进行修改了。

https://hacpai.com/article/1518334834570#comments

@longyg

This comment has been minimized.

longyg commented Jul 6, 2018

编辑器浏览时的问题怎么解决呢?

@longyg

This comment has been minimized.

longyg commented Jul 6, 2018

还有,我用其他官方的皮肤,也有同样的问题

@88250

This comment has been minimized.

Member

88250 commented Jul 6, 2018

image

你启用 marked 增强就可以得到这个效果了。

@longyg

This comment has been minimized.

longyg commented Jul 6, 2018

哦,必须要用marked哦。好吧,我试试

@Vanessa219

This comment has been minimized.

Member

Vanessa219 commented Jul 6, 2018

@longyg 还有哪一个皮肤?我记得我一个一个的查看过了。

@longyg

This comment has been minimized.

longyg commented Jul 6, 2018

yilia

@Vanessa219

This comment has been minimized.

Member

Vanessa219 commented Jul 6, 2018

image
你把你的皮肤换一下。我看看

@longyg

This comment has been minimized.

longyg commented Jul 6, 2018

之前测试就是你上面截图的效果。第二个显示不出来。
昨天重新编译master代码打包部署了一次,结果里面没有yilia,只有两个默认的皮肤。
现在我换成Medium了,也有同样的问题。你可以去看看。

@88250

This comment has been minimized.

Member

88250 commented Jul 6, 2018

用 marked 了么?

@longyg

This comment has been minimized.

longyg commented Jul 6, 2018

还没用

@88250

This comment has been minimized.

Member

88250 commented Jul 6, 2018

不用不行啊。

@longyg

This comment has been minimized.

longyg commented Jul 6, 2018

好吧,我晚上回去换。服务器还没装node

@Vanessa219

This comment has been minimized.

Member

Vanessa219 commented Jul 6, 2018

你可以先试一下只输入 $\sqrt{(x1-x2)^{2} + (y1-y2)}$ 这个看看能不能渲染

@longyg

This comment has been minimized.

longyg commented Jul 6, 2018

这个之前试过的,没问题

@88250 88250 removed this from the 2.9.2 milestone Jul 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment