Math Plugin
Write math in your markdown with the KaTeX- or MathJax- libraries. This plugin only works with Typemill version 2.9.0 and higher.
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.
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.
Bracket Notation (Standard)
Inline math is wrapped into slashbacks followed by round brackets like this: \(1+1=2\)
.
Math blocks are wrapped with slashbacks followed by square brackets like this:
Dollar Notation (Deprecated)
Inline math is wrapped into two dollar signs $1+1=2$
.
Math blocks are wrapped with two dollar signs like this:
Please note that the dollar-notation is not recommended anymore, so you should use the bracket syntax whenever possible.
Updates
Version 2.0.1
- Bring back the icons in visual editor
- Switch to bracket syntax as standard instead of dollar sign
Version 2.0.0
- Completely refactored for Typemill Version 2.