-
-
Notifications
You must be signed in to change notification settings - Fork 374
doc: Add MathJax support for rendering mathematical equations in documentation (#6610) #6655
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
base: main
Are you sure you want to change the base?
Conversation
petrasovaa
left a comment
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.
Please remove all the other changes from this PR first, thank you!
…tion - Add pymdownx.arithmatex extension to enable LaTeX-style math processing - Include MathJax 3 CDN scripts for client-side equation rendering - Update r.gwflow.md as example with properly formatted LaTeX equations This enables proper rendering of mathematical equations in MkDocs documentation using standard LaTeX syntax ($...$ for inline, $$...$$ for display equations). Fixes issue where equations were not rendering correctly in documentation pages.
6e86986 to
5040dc5
Compare
|
Thanks for the heads-up! I’ve removed the unrelated commits and cleaned up the PR. It’s now only the intended MathJax changes. |
| - https://polyfill.io/v3/polyfill.min.js?features=es6 | ||
| - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js |
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.
Why is the polyfill needed and have you tried using mathjax 4.0?
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.
@RhythmP619 any idea?
This enables proper rendering of mathematical equations in MkDocs documentation using standard LaTeX syntax ($...$ for inline, $$...$$ for display equations). Fixes issue where equations were not rendering correctly in documentation pages.