Skip to content
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

能否提供了可以添加公式的js,不然类似于cnblog的公式加载不出来 #412

Closed
Kingtwo opened this issue Oct 28, 2018 · 6 comments

Comments

@Kingtwo
Copy link

commented Oct 28, 2018

No description provided.

@Kenshin

This comment has been minimized.

Copy link
Owner

commented Oct 29, 2018

例如?说一下具体的 URL

@Kenshin Kenshin added the question label Oct 29, 2018

@Kingtwo

This comment has been minimized.

Copy link
Author

commented Oct 30, 2018

等我找到了,我给你反馈

@Kingtwo Kingtwo closed this Oct 30, 2018

@Kingtwo

This comment has been minimized.

Copy link
Author

commented Oct 31, 2018

类似这个页面:https://www.cnblogs.com/pinard/p/6437495.html
公式被整成这样了:$$J(W,b,a,y) = -y \bullet lna- (1-y) \bullet ln(1 -a)$$
其实只要加载个公式的js,如mathjax就行了

@Kenshin

This comment has been minimized.

Copy link
Owner

commented Nov 1, 2018

目前确实无法加载 mathjax 我看看能否使用 plugin 的方式解决它。我重新打开这个 issues 了

@Kenshin Kenshin reopened this Nov 1, 2018

@Kenshin Kenshin added plugins and removed question labels Nov 1, 2018

@Kenshin

This comment has been minimized.

Copy link
Owner

commented Jan 29, 2019

嗨,今天研究了下 MathJax 的问题,目前暂时无法用 插件的方式解决,但可以通过以下的方案完美解决:

  • 进入阅读模式;
  • 右侧控制栏 → 动作 → 设定 → 重新选择高亮

即可解决。

造成的原因是:MathJax 在生成公式时会有个 Delay 而在生成阅读模式时,还未生成公式。

@Kenshin

This comment has been minimized.

Copy link
Owner

commented May 6, 2019

简悦已升级到 1.1.2.5005 版本,增加了全新的 词法分析引擎

解决了此类问题,详细说明请看

  • LaTeX 解析

  • 某些图片被错误居中的情况;

  • 识别图片的相对地址;

  • 去掉一些无用的多余空行;

以及增加了一些新功能:


比如上述描述的链接,现在可以显示为

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.