-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
KaTex 不要再用cdn的版本了 #31
Comments
起先考虑使用CDN是不想整个项目文件包太大(之前被MathJax“吓”到了,呵呵),所以直接使用了CDN,并且设置了可以自定义KaTeX加载URL。 |
没必要把整个软件包都包含到editor.md中,只要在bower.json中设置为依赖项就可以了。 "dependencies": {
"underscore": null,
"jquery": null,
"katex-build": null
}
之前也有人反映了类似的问题: #28 |
倒是可以这样,但是不一定都在用 |
可以通过 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
所有的第三方软件包都用的本地的拷贝,只有KaTex用的是CDN的版本:
这很另类,也带来了问题。 比如用户没有联网的情况下不能用。还有用户通过文件系统直接打开的时候也不能用 (
file://
开头的URL)建议采用包管理器来使用KaTex。比如用bower的话就是
bower install katex-build
。参考: KaTeX/KaTeX#114
The text was updated successfully, but these errors were encountered: