sphinxcontrib-katexΒΆ
A Sphinx extension for rendering math in HTML pages.
The extension uses KaTeX for rendering of math in HTML pages. It is designed as a replacement for the built-in extension sphinx.ext.mathjax, which uses MathJax for rendering.
- Documentation: https://sphinxcontrib-katex.readthedocs.io/
- Download: https://pypi.org/project/sphinxcontrib-katex/#files
- Development: https://github.com/hagenw/sphinxcontrib-katex/
.. math::
\text{Rendered with \KaTeX} \\[18pt]
\gdef \f #1 {f(#1)}
\f{x} = \int_{-\infty}^\infty
\hat \f\xi\,e^{2 \pi i \xi x}
\,d\xi
\[\text{Rendered with \KaTeX} \\[18pt]
\gdef \f #1 {f(#1)}
\f{x} = \int_{-\infty}^\infty
\hat \f\xi\,e^{2 \pi i \xi x}
\,d\xi\]