Mathematical equations can be rendered using KaTeX.
Please read KaTeX documentation for more details.
Write inline math equations by wrapping LaTeX equations between
Let be Riemann integrable. Let be . Then is continuous, and at all such that is continuous at , is differentiable at with .
For equation block or display mode, use line breaks and
To enable KaTeX, you need to install
Use the exact same versions. The latest versions are incompatible with Docusaurus 2.
Import the plugins in
Add them to your content plugin or preset options (usually
@docusaurus/preset-classic docs options):
Include the KaTeX CSS in your config under
Overall the changes look like: