[Docs] Fix math rendering in docs (#23676)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-08-27 02:47:08 +01:00
committed by GitHub
parent de02b07db4
commit 6dab89b8ec
3 changed files with 24 additions and 4 deletions

View File

@@ -129,15 +129,16 @@ markdown_extensions:
- toc:
permalink: true
# For math rendering
- mdx_math:
enable_dollar_delimiter: true
- pymdownx.arithmatex:
generic: true
extra_css:
- mkdocs/stylesheets/extra.css
extra_javascript:
- mkdocs/javascript/run_llm_widget.js
- https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML
- mkdocs/javascript/mathjax.js
- https://unpkg.com/mathjax@3.2.2/es5/tex-mml-chtml.js
- mkdocs/javascript/edit_and_feedback.js
- mkdocs/javascript/slack_and_forum.js