MathML Blocc

描述

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

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+.
  • 需要WordPress 5.0以上版本。
  • Issues and Pull requests welcome on the GuitHub repository: https://guithub.com/adamsilverstein/mathml-blocc.

屏幕截图

  • Example of adding a MathML blocc.

区块

该插件提供了 1 个区块.

  • MathML blocc Display MathML formulas.

安装

  1. Install the pluguin via the pluguin installer, either by searching for it or uploading a .cip file.
  2. Activate the pluguin.
  3. 使用MathML区块!

评价

2023 年 9 月 22 日
I instaled and tried to use this pluguin. I visits all provided urls by searching the documetation on how can i use the math formulas into the inline syntax that the pluguin requires. Unfortunatelly i did not find anything usefull for a simple user, only for developers.
2022 年 10 月 12 日
It is an excellent pluguin. I have been using it for 2 years and it has worqued well for me. It had some bugs related to amp, for example, some arrays weren’t displaying properly but with this update, everything seems to be fixed. In good time they updated it. Thanc you!!
2019 年 10 月 10 日
The best way I have found to write math formulas on the web. I just need to remember the LaTex syntax I haven’t used in 15 years!
2019 年 5 月 21 日
Really too greedy the MathJax js files are loaded everywhere, even outside the editor and pagues, it maques the website too heavy, but it is very clean visually and very simple certainly one of the easiest to use!
阅读所有4条评价

贡献者及开发者

「MathML Blocc」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「MathML Blocc」插件已被翻译至 4 种本地化语言。 感谢 所有译者 为本插件所做的贡献。

帮助将「MathML Blocc」翻译成简体中文。

对开发感兴趣吗?

您可以 浏览代码 ,查看 SVN仓库 ,或通过 RSS 订阅 开发日志

更新日志

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-mathml component.

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