<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8"/>
	<title>MathEditor</title>
	<script src="MathJax/MathJax.js?config=AM_HTMLorMML"></script>
    <link rel="stylesheet" href="styles.css"/>
</head>
<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>


	<p>`5x-2c^2=0`</p>
	<p>`sqrt(52+5)`</p>

    <p>Apuja: <a href="http://asciimath.org/">AsciiMath</a></p>

    <hr/>
    <form>
        <textarea id="editor" rows="10" cols="80">Joku summakaava: `sum_(i=1)^n i^3=((n(n+1))/2)^2` jihuu jee ja joo.

Toisen asteen ratkaisukaava `x = (-b+-sqrt(b^2-4ac))/(2a)`</textarea>
        <p><input type="submit" value="OK"/></p>
    </form>

    <script src="mathedit.min.js"></script>
    <script>
       MathEditor.enable('editor');
    </script>
</body>
</html>

<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8"/>
	<title>MathEditor</title>
	<!--<script src="MathJax/MathJax.js?config=AM_HTMLorMML"></script>-->
    <link rel="stylesheet" href="styles.css"/>
</head>
<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>


	<p>`5x-2c^2=0`</p>
	<p>`sqrt(52+5)`</p>

    <p>Apuja: <a href="http://asciimath.org/">AsciiMath</a></p>

    <hr/>
    <form>
        <textarea id="editor" rows="10" cols="80">Joku summakaava: `sum_(i=1)^n i^3=((n(n+1))/2)^2` jihuu jee ja joo.

Toisen asteen ratkaisukaava `x = (-b+-sqrt(b^2-4ac))/(2a)`</textarea>
        <p><input type="submit" value="OK"/></p>
    </form>

    <script src="mathedit.js"></script>
    <script>
       MathEditor.enable('editor');
    </script>
</body>
</html>

Drop inclusion of MathJax script.
Drop inclusion of MathJax script.
