-
-
Notifications
You must be signed in to change notification settings - Fork 276
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 3 compatibility #651
Comments
Here are the mathjax API changes one may run into after a lot of web wandering (last bullet). You could have math rendered with kramdown by including a distribution of mathjax 2, if only. The cdn script tag for v2 I pasted from their landing page didn't work. To use mathjax 3, one should include before loading the mathjax script this complicated configuration object, which essentially supplies the function looking for the script tag v2 used.
Then kramdown's output script tags will be parsed to math :) Hoping you could highlight this somewhere in the docs, |
See also mathjax/MathJax#2220 |
This is already fixed in c3acf8d and will be part of the next release. You could try the repository version of kramdown to see if that works for you. |
Kramdown's output is not compatible with mathjax 3's defaults!
The
<script type="tex/math">
tags are not parsed anymore, although it was the recommendedoutput in v2 💣
Having a markdown parser go along with mathjax can be a real mind breaker and it is a huge relief that kramdown does its job at protecting equations properly.
It took me a day to identify the problem and it turns out it's all mathjax's fault.
Until an eventual fix, I still think it would be much appreciated, and save math users a lot of time, if kramdown advertised on this issue in its docs:
I'd say this is all the more called for as the mathjax docs are completely uneatable, and the internet is full with misleading, outdated similar threads!
The text was updated successfully, but these errors were encountered: