KaTeX

Description

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 [latex]...[/latex] shortcodes.

You can choose to serve KaTeX yourself or through the third-party jsDelivr CDN.

Plugin Website

Screenshots

  • Preview your TeX right inside the editor.
  • TeX is rendered inside your visitors' browsers.

Blocks

This plugin provides 1 block.

katex/display-block
KaTeX

Installation

  1. Upload the katex folder to your /wp-content/plugins/ directory or automatically download and install the plugin through WordPress’s plugin manager;
  2. Activate the plugin in WordPress; and
  3. Use the [latex] shortcode or KaTeX Gutenberg blocks in your posts and pages.

FAQ

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.

Reviews

September 24, 2019
Cette extension ajoute un nouveau bloc, appelé "Ka". Il suffit d'y taper le code Latex pour voir instantanément, sous ce code, sa représentation. Parfait. Merci au développeur.
September 4, 2019
Works exactly how I want it to and it has Gutenberg support. No more silly shortcodes.
July 11, 2019
Whoa, guys. I really needed this plugin. It works with Gutemberg, and it is really easy to use this plugin to write math formulas in my website. Strongly suggested!
Read all 5 reviews

Contributors & Developers

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

“KaTeX” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “KaTeX” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.5

  • Fix 1.0.4 release issue: KaTeX resources were not committed correctly.

1.0.4

  • Upgrade KaTeX resources to v0.10.2.

1.0.3

  • Fix warnings related to plugin options that occurred on PHP 5.
  • Clean up the plugin’s options on plugin deletion.

1.0.2

  • Upgrade KaTeX resources to v0.10.1.

1.0.1

  • Fix issue where KaTeX resources would not be loaded on the admin pages.

1.0.0

  • Initial release.