-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Add a rehype plugin to use mathlive renderer #95
Labels
Comments
github-actions
bot
added
👋 phase/new
Post is being triaged automatically
🤞 phase/open
Post is being triaged manually
and removed
👋 phase/new
Post is being triaged automatically
labels
Jan 6, 2024
You can write your own package There is no need to add it as a core module into See also https://github.com/remarkjs/remark/blob/main/doc/plugins.md#list-of-plugins |
JounQin
added
🙋 no/question
This does not need any changes
👀 no/external
This makes more sense somewhere else
labels
Jan 6, 2024
github-actions
bot
removed
🙋 no/question
This does not need any changes
👀 no/external
This makes more sense somewhere else
labels
Jan 6, 2024
JounQin
added
🙋 no/question
This does not need any changes
👀 no/external
This makes more sense somewhere else
👎 phase/no
Post cannot or will not be acted on
labels
Jan 6, 2024
This comment has been minimized.
This comment has been minimized.
github-actions
bot
removed
🙋 no/question
This does not need any changes
🤞 phase/open
Post is being triaged manually
labels
Jan 6, 2024
github-actions
bot
added
👎 phase/no
Post cannot or will not be acted on
and removed
👀 no/external
This makes more sense somewhere else
👎 phase/no
Post cannot or will not be acted on
labels
Jan 6, 2024
JounQin
added
🙋 no/question
This does not need any changes
👀 no/external
This makes more sense somewhere else
labels
Jan 6, 2024
github-actions
bot
added
👎 phase/no
Post cannot or will not be acted on
and removed
🙋 no/question
This does not need any changes
👀 no/external
This makes more sense somewhere else
👎 phase/no
Post cannot or will not be acted on
labels
Jan 6, 2024
This comment was marked as resolved.
This comment was marked as resolved.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Initial checklist
Problem
I'd like to use https://github.com/arnog/mathlive to generate markups for math formula.
Solution
Add a new package
rehype-mathlive
. Mathlive has decent SSR support and requires no browser-side dependency but only a css. It has nice support for latex commands and also mhchem out-of-the-box. Also I think it's based on custom fonts so it looks nice and can be easily sclaed up and down for example.Alternatives
Given that
rehype-katex
is implemented in a single file, I think intergating mathlive won't be too difficult. If acceptable, I could try to do it on my own and send a PR, though I'm not so familiar with remark/rehype.The text was updated successfully, but these errors were encountered: