A Sphinx extension for rendering LaTeX math in HTML pages using KaTeX. Current version is 0.9.11, compatible with Python >=3.9. Released irregularly.
pip install sphinxcontrib-katexVerified import paths — ran on the pinned version, not inferred.
Enable the extension in Sphinx conf.py and optionally specify KaTeX version (defaults to latest available).
Update katex_version to >=0.16.0 in conf.py or let it default.
Set katex_css_path and katex_js_path in conf.py to point to your KaTeX assets.
Replace katex_css_host with katex_css_path and katex_js_path.