MathML Block
A MathML block for the WordPress block editor (Gutenberg).
The facts
- Rating
- 3.8★ from 4
- Active installs
- 1k+
- Price
- Free
- Last updated
- 10 May 2025
- Added
- Dec 2018
- Requires WP
- 5.0
- Tested up to
- WP 6.8.8
- Requires PHP
- 5.6
- Downloads
- 28,175
Our analysis
AI-assistedMathML Block is a WordPress plugin designed for the Gutenberg block editor, allowing users to integrate mathematical notations into their content using MathML. It renders formulas both in the editor and on the front end of a website using MathJax, a JavaScript display engine for mathematics.
This plugin is suitable for educators, mathematicians, or anyone needing to present mathematical formulas on their WordPress site. It requires PHP 5.6 or higher and WordPress 5.0 or higher to function properly.
Best for: This plugin is best for educational websites or blogs that feature mathematical content.
What it does well
- ✓Integrates MathML for mathematical notations
- ✓Uses MathJax for rendering in all browsers
- ✓Compatible with Gutenberg block editor
Where it falls short
- •Limited information on additional features
- •Requires specific PHP and WordPress versions
Verdict
MathML Block provides a straightforward solution for adding mathematical formulas to WordPress sites, though it may not offer extensive features beyond basic functionality.
From the developer
Adam Silverstein's own description of MathML Block, lightly tidied.
A MathML block for the WordPress block editor (Gutenberg).
Requires PHP 5.4+ and WordPress 5.0+.
Development takes place on the GitHub repository: https://github.com/adamsilverstein/mathml-block.
Screencast: https://cl.ly/c0f6bbfbc3b1
What is MathML?
Mathematical Markup Language is a mathematical markup language, an application of XML for describing mathematical notations and capturing both its structure and content. It aims at integrating mathematical formulae into World Wide Web pages and other documents.
The MathML block uses MathJax to render MathML formulas in the editor and on the front end of a website. MathJax (https://www.mathjax.org/) is A JavaScript display engine for mathematics that works in all browsers.
To test a MathML block and enter a formula, for example: \[x = {-b \pm \sqrt{b^2-4ac} \over 2a}\].
To test using math formulas inline, type an formula into a block of text, select it and hit the ‘M’ icon in the control bar. For example: \( \cos(θ+φ)=\cos(θ)\cos(φ)−\sin(θ)\sin(φ) \). Note: if you are copying and pasting formulas into the rich text editor, switching to HTML/code editor mode is less likely to reformat your pasted formula.
Technical Notes
- Requires PHP 5.6+.
- Requires WordPress 5.0+.
- Issues and Pull requests welcome on the GitHub repository: https://github.com/adamsilverstein/mathml-block.