Skip to content

Conversation

@RhythmP619
Copy link

  • 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.

@wenzeslaus wenzeslaus requested a review from cwhite911 November 22, 2025 12:12
@github-actions github-actions bot added raster Related to raster data processing module docs markdown Related to markdown, markdown files labels Nov 22, 2025
@RhythmP619 RhythmP619 changed the title Add MathJax support for rendering mathematical equations in documentation (#6610) doc: Add MathJax support for rendering mathematical equations in documentation (#6610) Nov 22, 2025
@github-actions github-actions bot added windows Microsoft Windows specific macOS macOS specific docker Docker related CI Continuous integration translation Message translation related nix labels Nov 23, 2025
Copy link
Contributor

@petrasovaa petrasovaa left a 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.
@RhythmP619
Copy link
Author

Thanks for the heads-up! I’ve removed the unrelated commits and cleaned up the PR. It’s now only the intended MathJax changes.

@RhythmP619 RhythmP619 requested a review from petrasovaa December 1, 2025 16:49
Comment on lines +83 to +84
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RhythmP619 any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous integration docker Docker related docs macOS macOS specific markdown Related to markdown, markdown files module nix raster Related to raster data processing translation Message translation related windows Microsoft Windows specific

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants