Test status sphinxcontrib.katex's documentation on Read the Docs sphinxcontrib-katex's supported Python versions sphinxcontrib.katex's MIT license

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.

.. math::

    \text{Rendered with \KaTeX} \\[18pt]

    \gdef \f #1 {f(#1)}

    \f{x} = \int_{-\infty}^\infty
        \expandafter \hat\f{\xi} \,e^{2 \pi i \xi x}
\[\text{Rendered with \KaTeX} \\[18pt] \gdef \f #1 {f(#1)} \f{x} = \int_{-\infty}^\infty \expandafter \hat\f{\xi} \,e^{2 \pi i \xi x} \,d\xi\]