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

change default MathJax config from TeX-MML-AM_HTMLorMML to TeX-MML-AM_CHTML #4424

Open
cod3licious opened this issue Mar 26, 2023 · 0 comments

Comments

@cod3licious
Copy link

The math in my HTML doc wasn't rendering correctly in Chrome (on MacOS), even though it worked on Safari and on Chrome in iOS.
This is what it looked like:
Screenshot 2023-03-26 at 15 03 01

I noticed that by default, this line is added to the HTML file for MathJax:

<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-MML-AM_HTMLorMML"></script>

When changing TeX-MML-AM_HTMLorMML to TeX-MML-AM_CHTML the output looked as expected on all browsers that I've tested:
Screenshot 2023-03-26 at 15 03 15
and CommonHTML also seems to be the recommended choice by MathJax themselves. Is there any reason for not switching to TeX-MML-AM_CHTML as the default config?

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