The KaTeX WordPress plugin enables you to use the fastest TeX math typesetting engine on your WordPress website. You can include TeX inside a
[katex]...[/katex] shortcode or in a Gutenberg block. Either way the math will render beautifully on your website. When using Gutenberg blocks, the equations will render immediately inside your editor!
Equations in blocks or using the
[katex display=true]...[/katex] shortcode will render on page in display mode–with bigger symbols–centered on their own line.
For compatability with other LaTeX plugins, this plugin optionally supports
You can choose to serve KaTeX yourself or through the third-party jsDelivr CDN.
katex folder to your
/wp-content/plugins/ directory or automatically download and install the plugin through WordPress’s plugin manager;
Activate the plugin in WordPress; and
[latex] shortcode or KaTeX Gutenberg blocks in your posts and pages.
Can I move from LaTeX plugin X to this plugin?
You should be able to replace any other LaTeX plugin using
[latex] shortcodes without having to make changes to existing posts. Other plugins might handle display-mode latex other than
[latex display=true]...[/latex], in which case old posts unfortunately have to be changed.