MathML Block

Beschreibung

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 lock 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.4+.
  • Requires WordPress 5.0+.
  • Issues and Pull requests welcome on the GitHub repository: https://github.com/adamsilverstein/mathml-block.

Screenshots

  • Example of adding a MathML block.

Blöcke

Dieses Plugin unterstützt 1 Block.

mathml/mathmlblock
MathML

Installation

  1. Install the plugin via the plugin installer, either by searching for it or uploading a .zip file.
  2. Activate the plugin.
  3. Use the MathML block!

Rezensionen

21. Mai 2019
Really too greedy the MathJax js files are loaded everywhere, even outside the editor and pages, it makes the website too heavy, but it is very clean visually and very simple certainly one of the easiest to use!
Lies alle 1 Rezension

Mitwirkende & Entwickler

„MathML Block“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„MathML Block“ wurde in 1 Sprache übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „MathML Block“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.1.1

  • Improve translations, make JavaScript translatable.
  • Update all packages.

1.1.0

  • Add support for inline formulas.

1.0.0

  • Initial plugin release