# Viewer Pane - HTML - Java Script Equation Support

I'm wondering if there is an easy way an HTML plugin could be updated to Chrome or MS Edge.
I'd like to properly display this simple equation script within DOpus.

It isn't a big urgent thing in any way, but modern browsers can render a simple HP Calculator like equation mark up script called AsciMath properly using a link to MathJax.
This works for LaTex as well, but AsciiMath is calculator nice.

The translation to MathML is done internally in the script.
Open a simple HTML file in your browser and the equation is displayed as the HTML was written.
For instance, try this demo HTML file for a simple quadratic equation solution.

<!DOCTYPE html>
<html>
<title>MathJax AsciiMath Test Page</title>
<script>
MathJax = {
}
</script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script type="text/javascript" id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/startup.js">
</script>
<body>

<p>When a != 0, there are two solutions to ax^2 + bx + c = 0 and
they are</p>
<p style="text-align:center">
x = (-b +- sqrt(b^2-4ac))/(2a) .
</p>

</body>
</html>


Fonts and everything else work out in the details.
A Windows Snipping Tool capture of the rendered equation can be clipboard pasted into Word and rendered a scalable copy of the equation.

We'll be moving it to Edge Chromium in the future.

(OTOH, Chrome doesn't support embedding, so it can't be used without maintain a separate fork of the browser. But Edge Chromium finally brought back the ability to embed a modern web browser, which was limited to IE in the past.)

Thanks much Leo !