Title: KaTeX Math Rendering
Author: Ella Van Durpe
Published: <strong>September 28, 2026</strong>
Last modified: September 28, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/katex-math.svg)

# KaTeX Math Rendering

 By [Ella Van Durpe](https://profiles.wordpress.org/ellatrix/)

[Download](https://downloads.wordpress.org/plugin/katex-math.0.1.0.zip)

 * [Details](https://wordpress.org/plugins/katex-math/#description)
 * [Reviews](https://wordpress.org/plugins/katex-math/#reviews)
 * [Development](https://wordpress.org/plugins/katex-math/#developers)

 [Support](https://wordpress.org/support/plugin/katex-math/)

## Description

WordPress supports math out of the box: it writes standard MathML, which the browser
renders. These renderings sometimes fall short, with oddly positioned strokes, thicker
lines and the like, in the math fonts browsers ship with. This small plugin bundles
KaTeX and uses its typesetting on the front end and in the editor, for the WordPress
Math block and the inline math format. There are no separate blocks, it is an alternate
rendering. To switch back to the WordPress rendering, deactivate the plugin and 
everything keeps working: Math blocks and inline math stay stored exactly as WordPress
stores them, with both the LaTeX and the MathML in the post content.

 * On the front end, KaTeX is loaded only on pages that contain math.
 * A formula KaTeX cannot render is left to the browser’s MathML.
 * Formulas keep the text size the browser gives MathML rather than KaTeX’s default
   enlargement. A theme that wants math larger sets `math` and `.katex` alike.

### Third-party code

The plugin bundles [KaTeX](https://katex.org/) 0.18.7, unmodified, in `vendor/katex`:
the minified script and stylesheet and the fonts of its npm release, under the MIT
license (see `vendor/katex/LICENSE`). Its source is at https://github.com/KaTeX/
KaTeX. Development happens at https://github.com/ellatrix/katex-math.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“KaTeX Math Rendering” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Ella Van Durpe ](https://profiles.wordpress.org/ellatrix/)
 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)

[Translate “KaTeX Math Rendering” into your language.](https://translate.wordpress.org/projects/wp-plugins/katex-math)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/katex-math/), check
out the [SVN repository](https://plugins.svn.wordpress.org/katex-math/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/katex-math/) by 
[RSS](https://plugins.trac.wordpress.org/log/katex-math/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1.0

 * Initial release.

## Meta

 *  Version **0.1.0**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.9 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [katex](https://wordpress.org/plugins/tags/katex/)[latex](https://wordpress.org/plugins/tags/latex/)
   [math](https://wordpress.org/plugins/tags/math/)[mathml](https://wordpress.org/plugins/tags/mathml/)
 *  [Advanced View](https://wordpress.org/plugins/katex-math/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/katex-math/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/katex-math/reviews/)

## Contributors

 *   [ Ella Van Durpe ](https://profiles.wordpress.org/ellatrix/)
 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/katex-math/)