-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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 not always rendering. #2556
Comments
This is indeed weird. Try to move mathjax import to after the distill, see if that helps. If not, move to after the distill and remove |
I've run into this as well. It happens non-deterministically.
I am working around this by removing the |
@orm011 Yeah this is also how I got around it temporarily. Actually, the original error above had to do with trying to use colors in MathJax, which for some reason it doesn't really like. I then ran into the issue you described. I'm not really proficient in web-dev so I don't know the dangers of not including the integrity attribute, but for now it seems fine. |
Can you guys test if d019fc0 fixes this? I made a mistake when using mathjax dependencies. |
I tried your fixes and they seem to work. |
Have you checked that your issue isn't already filed?
Bug description
MathJax does not render after refreshing the page once. There is a JS error.
How to reproduce the bug
I'm not sure what's unique about my distill page in particular, but if you visit https://alexzhang13.github.io/blog/2024/annotated-kan/ and refresh the page, the MathJax won't render anymore. When I render the default distill page, this isn't an issue.
Error messages and logs
What operating system are you using?
Mac
Where are you seeing the problem on?
Deployed site
More info
This issue also occurs on the local website as well -- it isn't a deployed site exclusive issue.
The text was updated successfully, but these errors were encountered: