Writing Maths Equations in blog post

Hi,

Please let me know if there is a way to write maths equations in blog posts like shared in attachment.

Hi @PSharma082 ,

You can use <math> html tag inside of the blog post to display Math formula with style.

You’ll need to switch to advanced view in the rich text in order to add every tags you need.

Hope it helps,

Bests

Matthieu

matthieu.berard@markentive.com

Hi Matthieu,

Thanks for you response, but when i try to use <math> tags in advanced source code, editor is removing these tags before saving.

For Example:

I used this code:

<p> The infinite sum <math display=“block”> <mrow> <munderover> <mo>∑</mo> <mrow> <mi>n</mi> <mo>=</mo> <mn>1</mn> </mrow> <mrow> <mo>+</mo> <mn>∞</mn> </mrow> </munderover> <mfrac> <mn>1</mn> <msup> <mi>n</mi> <mn>2</mn> </msup> </mfrac> </mrow> </math> is equal to the real number <math display=“inline”> <mfrac> <msup> <mi>π</mi> <mn>2</mn> </msup> <mn>6</mn> </mfrac></math >. </p>

After Saving i got this:

<p>The infinite sum ∑ n = 1 + ∞ 1 n 2 is equal to the real number π 2 6 .</p>

Hi @PSharma082 ,

That’s unformtunate… I thought it would be easly integrable in the rich text editor but no!
I recommand you tu use an image of your math formula.
You can also insert your math formula as a svg directly in the rich text editor in advanced mode. I tried this website to convert the formula and it works. But you need to retype all your formula…
Hope it helps,

Matthieu

matthieu.berard@markentive.com