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

mathjax javascript url should be updated(cdn.mathjax.org is dead in April, 2017) #366

Open
asmwarrior opened this issue Apr 29, 2018 · 1 comment

Comments

@asmwarrior
Copy link

Hi, when the Math support is enabled, I see that the html has those scripts added:

</script>
<script type="text/javascript" async
  src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

The problem here is, the MathJax don't support this url links, see this page:
https://docs.mathjax.org/en/latest/configuration.html#loading-mathjax-from-a-cdn

We retired our self-hosted CDN at cdn.mathjax.org in April, 2017. We recommend using cdnjs.com which uses the same provider. The use of cdn.mathjax.org was governed by its terms of service.

Thank.

BTW: any one know how to use a local(offline) MathJax.js? Thanks.

@asmwarrior
Copy link
Author

It is located in hard-coded in the file:
CuteMarkEd/app-static/template/htmltemplate.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant