یہ پلگ ان ورڈپریس کے تازہ ترین 3 ریلیزوں کے ساتھ ٹیسٹ نہیں کیا گیا ہے۔ اب یہ برقرار نہیں رکھا جا سکتا یا معاونت نہیں کی جا سکتی اور اس کو ورڈپریس کے تازہ ترین ورژنز کے ساتھ استعمال کیے جانے پر مطابقت کے مسائل ہو سکتے ہیں۔

MathML Block

تفصیل

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.

This plugin is compatible with the official AMP plugin by rendering amp-mathml on AMP pages.

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.

اسکرین شاٹس

  • Example of adding a MathML block.

Blocks

This plugin provides 1 block.

  • MathML block Display MathML formulas.

انسٹالیشن

  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!

جائزے

ستمبر 22, 2023
I instaled and tried to use this plugin. I visits all provided urls by searching the documetation on how can i use the math formulas into the inline syntax that the plugin requires. Unfortunatelly i did not find anything usefull for a simple user, only for developers.
اکتوبر 12, 2022
It is an excellent plugin. I have been using it for 2 years and it has worked 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. Thank you!!
اکتوبر 10, 2019
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!
مئی 21, 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!
تمام 4 جائزے پڑھیں

شراکت دار اور ڈیویلپرز

“MathML Block” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:

شراکت دار

“MathML Block” کا 4 زبانوں میں ترجمہ کیا گیا ہے۔ تعاون کے لیے مترجمین کا شکریہ۔

“MathML Block” کا اپنی زبان میں ترجمہ کریں۔

ڈویلپمینٹ میں دلچسپی ہے؟

کوڈ براؤز کریں، ایس این وی ریپوزیٹری کو چیک کریں یا ڈویلپمینٹ لاگ کو سبسکرائب کریں بذریعہ آر ایس ایس۔

چینج لاگ

1.2.2

Tested up to 6.1.

1.2.0

  • Add AMP compatibility, props @westonruter. Leverages the amp-mathml component.

1.1.5

  • Make JavaScript translatable, take 2.

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