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

[help] Two problems I encountered when migrating to v3 #2319

Closed
reuixiy opened this issue Feb 8, 2020 · 2 comments
Closed

[help] Two problems I encountered when migrating to v3 #2319

reuixiy opened this issue Feb 8, 2020 · 2 comments

Comments

@reuixiy
Copy link

reuixiy commented Feb 8, 2020

Hello,

MathJax v3 is just awesome! 😺

However, I encountered the following two problems when I was preparing to migrate to v3:

  1. How to add a class to mathjax inline element's parentNode

  2. How to remove <br> after a mathjax element

    Solved by CSS.

And my current code of v3 is here. Apologies for asking this kind of questions... It's just too difficult for me to implement it...

Looking forward to your reply. Thanks!

@reuixiy reuixiy changed the title [v3] Two problems I encountered when migrating to v3 [help] Two problems I encountered when migrating to v3 Feb 8, 2020
@reuixiy
Copy link
Author

reuixiy commented Feb 10, 2020

Looks like we solved it by ourselves! Sorry for the bothering tho.

@reuixiy reuixiy closed this as completed Feb 10, 2020
@dpvc
Copy link
Member

dpvc commented Feb 10, 2020

Glad you got it worked out. I was going to suggest similar CSS for handling the over in your issue 1, but your CSS solution to 2 is better than what I was going to suggest for that. Thanks for sharing.

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

2 participants