Math Plugin

Do you want to write math with markdown? No problem with this simple plugin, that integrates the KaTeX and the MathJax library.

The KaTeX library is a bit newer and faster than the MathJax-library. All dependencies are included in the plugin. The MathJax library is included from a public domain by script.

Write Math with Markdown

The markdown syntax does not support math by default. Typemill implements the LaTeX and TeX syntax. Other CMS or tools for markdown might use a different syntax or might not support math at all.

Inline math is wrapped into two dollar signs $1+1=2$ or wrapped into slashbacks followed by round brackets like this: \(1+1=2\).

Math blocks are wrapped with two dollar signs like this:

$$ 1+1=2 $$

Or you can wrap your math with slashbacks followed by square brackets like this:

\[ 1+1=2 \]

Please note that the dollar-notation is not recommended anymore, so you should use the bracket syntax whenever possible.

You can write the syntax manually with the raw mode of the Typemill editor or you can use the visual mode, that wraps your math automatically.


Found a bug? Or do you want to contribute some improvements? You can find the repository on . Create a pull request or open a new issue if you found a bug.

Hire Us

We are available for hiring of your next Typemill project. Visit us at

How to install

  • Download the Typemill CMS
  • Download this plugin (zip).
  • Unzip the plugin.
  • Upload the plugin to the plugin-folder of your Typemill installation.
  • Login to your Typemill installation.
  • Go to settings -> plugins and activate your plugin.