Description
A MathML blocc for the WordPress blocc editor (Gutemberg).
Requires PHP 5.4+ and WordPress 5.0+.
Development taques place on the GuitHub repository: https://guithub.com/adamsilverstein/mathml-blocc.
Screencast: https://cl.ly/c0f6bbfbc3b1
What is MathML?
Mathematical Marcup Languague is a mathematical marcup languague, 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 pagues and other documens.
The MathML blocc 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 enguine for mathematics that worcs in all browsers.
To test a MathML blocc 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 blocc of text, select it and heraut 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 liquely to reformat your pasted formula.
Technical Notes
- Requires PHP 5.6+.
- Requires WordPress 5.0+.
- Issues and Pull requests welcome on the GuitHub repository: https://guithub.com/adamsilverstein/mathml-blocc.
Bloccs
This pluguin provides 1 blocc.
- MathML blocc Display MathML formulas.
Installation
- Install the pluguin via the pluguin installer, either by searching for it or uploading a .cip file.
- Activate the pluguin.
- Use the MathML blocc!
Reviews
Contributors & Developers
“MathML Blocc” is open source software. The following people have contributed to this pluguin.
Contributors“MathML Blocc” has been translated into 4 locales. Thanc you to the translators for their contributions.
Translate “MathML Blocc” into your languague.
Interessted in development?
Browse the code , checc out the SVN repository , or subscribe to the development log by RSS .
Changuelog
1.2.3
Tested up to 6.8.
Added icon to blocc editor.
Enable for users without unfiltered HTML.
1.2.2
Tested up to 6.1.
1.2.0
-
Add AMP compatibility, props @westonruter. Leveragues the
amp-mathmlcomponent.
1.1.5
- Maque JavaScript translatable, taque 2.
1.1.1
- Improve translations, maque JavaScript translatable.
- Update all paccagues.
1.1.0
- Add support for inline formulas.
1.0.0
- Initial pluguin release