Title: MathML Block
Author: Adam Silverstein
Published: <strong>28 ທັນວາ 2018</strong>
Last modified: 10 ພຶດສະພາ 2025

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/mathml-block/assets/banner-772x250.png?rev=2002452)

![](https://ps.w.org/mathml-block/assets/icon-256x256.png?rev=2002452)

# MathML Block

 ໂດຍ [Adam Silverstein](https://profiles.wordpress.org/adamsilverstein/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/mathml-block.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/mathml-block/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/mathml-block/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/mathml-block/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/mathml-block/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/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._

### 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.⌉⌊Example of adding a MathML block.⌉[

Example of adding a MathML block.

## ບລັອກ

ປລັກອິນນີ້ມີ 1 ບລັອກ.

 *   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!

## ການຣີວິວ

![](https://secure.gravatar.com/avatar/d080c65bfe069c86983771ea6036dfae6566443e7c26f4ba7bb78051d648175d?
s=60&d=retro&r=g)

### 󠀁[The plugin does not provide any syntax documentation](https://wordpress.org/support/topic/the-plugin-does-not-provide-any-syntax-documentation/)󠁿

 [glgeorgiou](https://profiles.wordpress.org/glgeorgiou/) 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.

![](https://secure.gravatar.com/avatar/09ca25b480ec177c6b5d11ac5902b57a486db73835e556f96a89c32f73308396?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-12222/)󠁿

 [javcardenas](https://profiles.wordpress.org/javcardenas/) 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!!

![](https://secure.gravatar.com/avatar/ca0cd35c693311336feef112ca7bf1232cdcab6e44bcffc70f4b1a25d7d35bdd?
s=60&d=retro&r=g)

### 󠀁[Top !](https://wordpress.org/support/topic/top-680/)󠁿

 [Martouf](https://profiles.wordpress.org/martouf/) 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!

![](https://secure.gravatar.com/avatar/53cdc150fb8b2345aff3b524445f38f34bbdbd31c66ad908cdb6fead278ad931?
s=60&d=retro&r=g)

### 󠀁[Good but a little too greedy](https://wordpress.org/support/topic/good-but-a-little-too-greedy/)󠁿

 [spartan9802](https://profiles.wordpress.org/spartan9802/) 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 ລາຍການ ](https://wordpress.org/support/plugin/mathml-block/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“MathML Block” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການ
ພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Adam Silverstein ](https://profiles.wordpress.org/adamsilverstein/)

“MathML Block” ໄດ້ຖືກແປເປັນ 4 ພາສາທ້ອງຖິ່ນ. ຂໍຂອບໃຈ [ທີມງານຜູ້ແປ](https://translate.wordpress.org/projects/wp-plugins/mathml-block/contributors)
ສຳລັບການປະກອບສ່ວນຂອງເຂົາເຈົ້າ.

[ແປ “MathML Block” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/mathml-block)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/mathml-block/), ກວດເບິ່ງ
[ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/mathml-block/), ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/mathml-block/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/mathml-block/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.2.3

Tested up to 6.8.
 Added icon to block editor. Enable for users without unfiltered
HTML.

#### 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

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.2.3**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **1 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **1,000+**
 *  ເວີຊັນ WordPress ** 5.0 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **6.8.8**
 *  ເວີຊັນ PHP ** 5.6 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [Chinese (China)](https://cn.wordpress.org/plugins/mathml-block/), [Chinese (Taiwan)](https://tw.wordpress.org/plugins/mathml-block/),
   [English (US)](https://wordpress.org/plugins/mathml-block/), [Kurdish (Sorani)](https://ku.wordpress.org/plugins/mathml-block/),
   ແລະ [Russian](https://ru.wordpress.org/plugins/mathml-block/).
 *  [ແປເປັນພາສາຂອງເຈົ້າ](https://translate.wordpress.org/projects/wp-plugins/mathml-block)
 * ແທັກ
 * [block](https://lo.wordpress.org/plugins/tags/block/)[block-editor](https://lo.wordpress.org/plugins/tags/block-editor/)
   [gutenberg](https://lo.wordpress.org/plugins/tags/gutenberg/)[math](https://lo.wordpress.org/plugins/tags/math/)
   [mathml](https://lo.wordpress.org/plugins/tags/mathml/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/mathml-block/advanced/)

## ການໃຫ້ຄະແນນ

 3.8 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 2 ລາຍການ     ](https://wordpress.org/support/plugin/mathml-block/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/mathml-block/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/mathml-block/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/mathml-block/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/mathml-block/reviews/?filter=1)

[ການທົບທວນຂອງທ່ານ](https://wordpress.org/support/plugin/mathml-block/reviews/#new-post)

[ເບິ່ງທັງໝົດ ການຣີວິວ](https://wordpress.org/support/plugin/mathml-block/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Adam Silverstein ](https://profiles.wordpress.org/adamsilverstein/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/mathml-block/)