{"id":96069,"date":"2018-12-28T05:52:56","date_gmt":"2018-12-28T05:52:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/mathml-block-for-gutenberg\/"},"modified":"2025-05-10T04:58:15","modified_gmt":"2025-05-10T04:58:15","slug":"mathml-block","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/mathml-block\/","author":10464658,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.3","stable_tag":"trunk","tested":"6.8.5","requires":"5.0","requires_php":"5.6","requires_plugins":null,"header_name":"MathML block","header_author":"adamsilverstein","header_description":"Display MathML formulas.","assets_banners_color":"ffffff","last_updated":"2025-05-10 04:58:15","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/tunedin.net","rating":3.8,"author_block_rating":3.75,"active_installs":1000,"downloads":26142,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":2,"sections":["description","installation","changelog"],"tags":{"1.1.2":{"tag":"1.1.2","author":"adamsilverstein","date":"2020-04-06 00:46:53"},"1.1.3":{"tag":"1.1.3","author":"adamsilverstein","date":"2020-07-30 04:23:39"},"1.1.4":{"tag":"1.1.4","author":"adamsilverstein","date":"2020-07-30 19:54:56"},"1.1.5":{"tag":"1.1.5","author":"adamsilverstein","date":"2020-09-30 21:48:10"},"1.2.0":{"tag":"1.2.0","author":"adamsilverstein","date":"2020-10-01 22:43:39"},"1.2.0b":{"tag":"1.2.0b","author":"adamsilverstein","date":"2020-10-01 22:50:18"},"1.2.1":{"tag":"1.2.1","author":"adamsilverstein","date":"2021-09-11 14:30:53"},"1.2.2":{"tag":"1.2.2","author":"adamsilverstein","date":"2022-10-11 23:21:50"},"123d":{"tag":"123d","author":"adamsilverstein","date":"2025-05-10 04:54:27"},"123e":{"tag":"123e","author":"adamsilverstein","date":"2025-05-10 04:58:15"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":1,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2002452,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2002452,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2002452,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2002452,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"mathml\/mathmlblock":{"name":"mathml\/mathmlblock","title":"MathML block","category":"common","icon":"list-view","description":"Display MathML formulas.","keywords":["math","mathml"],"textdomain":"mathml-block","attributes":{"formula":{"type":"string","source":"html","selector":"div"}},"editorScript":"file:..\/dist\/mathml-block.js","editorStyle":"file:..\/src\/mathml-block.css"}},"tagged_versions":["1.1.2","1.1.3","1.1.4","1.1.5","1.2.0","1.2.0b","1.2.1","1.2.2","123d","123e"],"block_files":["\/trunk\/.\/..\/dist\/mathml-block.js","\/trunk\/.\/..\/src\/mathml-block.css"],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2002452,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Example of adding a MathML block."},"jetpack_post_was_ever_published":false},"plugin_section":[172757,163309],"plugin_tags":[1220,148857,148076,10503,42348],"plugin_category":[],"plugin_contributors":[79826],"plugin_business_model":[],"class_list":["post-96069","plugin","type-plugin","status-publish","hentry","plugin_section-block","plugin_section-blocks","plugin_tags-block","plugin_tags-block-editor","plugin_tags-gutenberg","plugin_tags-math","plugin_tags-mathml","plugin_contributors-adamsilverstein","plugin_committers-adamsilverstein"],"banners":{"banner":"https:\/\/ps.w.org\/mathml-block\/assets\/banner-772x250.png?rev=2002452","banner_2x":"https:\/\/ps.w.org\/mathml-block\/assets\/banner-1544x500.png?rev=2002452","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/mathml-block\/assets\/icon-128x128.png?rev=2002452","icon_2x":"https:\/\/ps.w.org\/mathml-block\/assets\/icon-256x256.png?rev=2002452","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/mathml-block\/assets\/screenshot-1.png?rev=2002452","caption":"Example of adding a MathML block."}],"raw_content":"<!--section=description-->\n<p>A MathML block for the WordPress block editor (Gutenberg).\nRequires PHP 5.4+ and WordPress 5.0+.<\/p>\n\n<p>Development takes place on the GitHub repository: https:\/\/github.com\/adamsilverstein\/mathml-block.<\/p>\n\n<p>Screencast: https:\/\/cl.ly\/c0f6bbfbc3b1<\/p>\n\n<h3>What is MathML?<\/h3>\n\n<p>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.<\/p>\n\n<p>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 <em>A JavaScript display engine for mathematics that works in all browsers.<\/em><\/p>\n\n<p>To test a MathML block and enter a formula, for example: <code>\\[x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}\\]<\/code>.<\/p>\n\n<p>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: <code>\\( \\cos(\u03b8+\u03c6)=\\cos(\u03b8)\\cos(\u03c6)\u2212\\sin(\u03b8)\\sin(\u03c6) \\)<\/code>. <em>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.<\/em><\/p>\n\n<h3>Technical Notes<\/h3>\n\n<ul>\n<li>Requires PHP 5.6+.<\/li>\n<li>Requires WordPress 5.0+.<\/li>\n<li>Issues and Pull requests welcome on the GitHub repository: https:\/\/github.com\/adamsilverstein\/mathml-block.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin via the plugin installer, either by searching for it or uploading a .zip file.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Use the MathML block!<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.2.3<\/h4>\n\n<p>Tested up to 6.8.\nAdded icon to block editor.\nEnable for users without unfiltered HTML.<\/p>\n\n<h4>1.2.2<\/h4>\n\n<p>Tested up to 6.1.<\/p>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Add AMP compatibility, props @westonruter. Leverages the <code>amp-mathml<\/code> component.<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>Make JavaScript translatable, take 2.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Improve translations, make JavaScript translatable.<\/li>\n<li>Update all packages.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Add support for inline formulas.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial plugin release<\/li>\n<\/ul>","raw_excerpt":"A MathML block for the WordPress block editor (Gutenberg).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/96069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=96069"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/adamsilverstein"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=96069"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=96069"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=96069"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=96069"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=96069"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=96069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}