I’m using this page to test using MathJax in an article that’s written in AsciiDoc and generated by Hugo with help from the Asciidoctor Ruby gem. Most of this page was forked from parts of mathjax.github.io/MathJax-demos-web/ Thank you mathjax.org!
💡 | To view the mathematical markup that produces any displayed formula on this page, right click the formula. |
When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
Finally, while display equations look good for a page of samples, the ability to mix mathematics and text in a paragraph is also important. This expression \(\sqrt{3x-1}+(1+x)^2\) is an example of an inline equation. As you see, MathJax equations can be used this way as well, without unduly disturbing the spacing between lines.
Your public comment or question might immediately improve this page or help me to (eventually) improve this page.