-
-
Notifications
You must be signed in to change notification settings - Fork 279
Block attribute after math block not consistently handled #533
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
Comments
Any suggestions? |
Actually, to my surprise, the HTML Living Standard specify that «The WHATWG DOM standard defines the user agent requirements for the class, id, and slot attributes for any element in any namespace.». HTML5 too, again through global attributes. So |
Cool, thanks for the update. So just adding the class and id attributes, if specified, to the |
Yes, id and class would suit me. Note that I opened issue #2041 on Mathjax repo, suggesting that class and id on the script tag are passed to the tags created by Mathjax to actually display the equation. That would nicely fit with this present issue. Thanks! |
@luc-j-bourhis Took a while but with the next release the MathJax engine adds |
The following code
produces the following output when
math_eng == 'mathjax'
and the following output when
math_eng = 'katex'
I do realise that a
class
can't be set for a<script>
tag in the Mathjax case but still I find it a problem that the class just disappears like that. Anything would be better than the current situation really!This is with Kramdown version 1.17.0
The text was updated successfully, but these errors were encountered: