1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
<h2>Simple Test</h2>
<p>Inline Equations can be written as <math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow><mi>y</mi><mo>=</mo><mi>m</mi><mi>x</mi><mo>+</mo><mi>b</mi></mrow></math>.
Block equations are wrapped using</p>
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mrow><mi>x</mi><mo>=</mo><mfrac><mrow><mo>−</mo><mi>b</mi><mi>±</mi><msqrt><mrow><msup><mi>b</mi><mn>2</mn></msup><mo>−</mo><mn>4</mn><mi>a</mi><mi>c</mi></mrow></msqrt></mrow><mrow><mn>2</mn><mi>a</mi></mrow></mfrac></mrow></math>
<p>This code block will not have the math rendered.
<code>
some random code, describing $a and $b will not be rendered, $y=mx$
</code>
This will not work either <code>$\sqrt{2}</code> or</p>
<p><code>
$$
f = 12
$$
</code></p>
|