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

[Feature request] Allow to use MathJax instead of KaTex #467

Open
CHN-beta opened this issue Oct 1, 2024 · 0 comments
Open

[Feature request] Allow to use MathJax instead of KaTex #467

CHN-beta opened this issue Oct 1, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@CHN-beta
Copy link

CHN-beta commented Oct 1, 2024

Feature Description

MathJax is another widely used library for rendering LaTeX in the browser.
It supports a wider range of LaTeX commands than KaTeX, such as physics package (which is useful in physics and engineering), with the trade-off of being more resource-intensive.
It is a good idea to support both libraries, so that users can choose the one that best fits their needs.

Problem/Solution

Add an option to choose between KaTeX and MathJax for rendering LaTeX in the browser.

Integrate MathJax into hugo site seems not very hard, see hugo official doc and mathjax official doc.
Sadly I am not familiar with javascript and hugo development, so I can't provide a PR for this feature.

Additional Context

MathJax seems to be usually running on the client side, but KaTeX seems usually running on the server side.
I am not sure if this makes any difficulty to integrate MathJax into hextra.

@imfing imfing added the enhancement New feature or request label Oct 1, 2024
@imfing imfing added this to the v0.9.0 milestone Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants