-
Notifications
You must be signed in to change notification settings - Fork 75
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
🎨 Update CSS classes applied to math nodes to match remark-math
#862
Conversation
change `math block` to `math-display` and `math inline` to `math-inline`
Thanks for submitting your first pull request! You are awesome! 🤗 |
I'm working on fixing some tests right now! Will ping when ready! |
@rowanc1 ok I think we are about ready to go. I added some very simple tests to It seems like So, if we are able to merge/release myst-spec and then update the dependency over here the tests should pass ;) |
@@ -65,7 +65,7 @@ const math: Handler = (h, node) => { | |||
}; | |||
|
|||
const inlineMath: Handler = (h, node) => { | |||
return h(node, 'span', { class: 'math inline' }, [ | |||
return h(node, 'span', { class: 'math-inline' }, [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So many changes for a -
!! 🚀 Thanks again @sglyon for your help on this.
Hey @rowanc1 I don't think it will be necessary because of how the ast looks, but I don't know for sure... From what I can tell by the tests over there I thiknk we will be good without adding additional characters: https://github.com/remarkjs/remark-math/blob/e99b9d088709d743adf6a43551fd416d7e0014ed/packages/rehype-katex/test.js#L27-L47 |
Fantastic! Thank you, will get this in shortly!! (Away from my keyboard now..) |
remark-math
Thanks again @sglyon for your help in tracking these down and improving them in various repos! |
Awesome!! looking forward to a release and I'll test it out in my app ;) |
@rowanc1 could we get a new build out for |
We are planning on releasing later today! |
Version 1.0.22 should now be out! Thanks again for your help. |
Amazing — thank you!
On January 29, 2024, Spencer Lyon ***@***.***> wrote:
Version 1.0.22 should now be out! Thanks again for your help.
—
Reply to this email directly, view it on GitHub
<#862 (comment)
1915822159>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AAHUTXHVTJR2ROYGG7CGINDYRA4ZDAVCNFSM6AAAAABCFDFIPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVHAZDEMJVHE>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
change
math block
tomath-display
andmath inline
tomath-inline
ref #859