Michael Villaroel

Hello,
I wanted to create a question-and-answer site for engineering students. How can I embed an equation editor for both question and answer section?

DominicStaff

At the moment, the plugin does not compatible with the Math/Equation that you want to embed. In this case, you can add the following code to the header.php file of your theme.

<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>

2. Go to the https://www.codecogs.com/latex/eqneditor.php
3. Make the equation that you want to insert in the latex form.
4. Now Scroll down and select the Latex from the drop-down menu and copy the equation code.
5. Paste the equation code where you want to publish on your website.
Note: If you want to publish the equation as inline equation simply replace the $equation here$ to the $$equation here$$.
This is the best way to show maths equations from the latex code. There are many other alternatives of showing the mathematical equations but we found this one is best among all. As it will directly render the equation from the latex. There are many plugins available that render the equations as image and too many images on your website can reduce the Google Page Speed Score.
Hope this helps!