This is html injection result on before post

Inline math

  • 3x1+(1+x)2\sqrt{3x-1}+(1+x)^2

  • This is a simple test: y=mx+by = mx + b. This should all be inlined.

  • The equation of a line is given by ( y = mx + b ), where ( m ) is the slope and ( b ) is the y-intercept.

  • Balance $9.99\$9.99

  • Or even: y=mx+by = mx + b

  • Or even: eıx=cosx+ısinxe^{\imath x} = \cos{x} + \imath\sin{x}

Block math

×B1cEt=4πcjE=4πρ×E+1cBt=0B=0\begin{array}{c} \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ \nabla \cdot \vec{\mathbf{B}} & = 0 \end{array}

Another samples

Negative sign math

foo1+1=2-1+1 = 2bar

Centered block math

1+1=21 + 1 = 2

Complex Math

ax2+bx+c=0x=b±b24ac2a\begin{aligned} ax^2+bx+c &= 0\\ x &= \frac{-b\pm\sqrt{b^2-4ac}}{2a}\\ \end{aligned}

Paragraph break in inline math is not allowed

foo $1+1

= 2$ bar

skipDelimitersCheck option

aa $ 1 + 1 = 2 $ bb.

Multiline inline math

foo 1+1=21 + 1 = 2 bar

Codeblock 4 spaces

$$
1+1 = 2
$$

Codeblock 3 spaces

1+1=21+1 = 2

Multiline display math

1+1=2 1 + 1 = 2

Display and inline math can appear in lists

  • 1+1=21+1 = 2
  • 1+1=21+1 = 2

Escaped $ should not parse

$1 + 1 = 2$

Escaped $ within math should not close

$1+$1=$2\$1 + \$1 = \$2

Colors

\textcolor{blue}{F=ma}
\textcolor{228B22}{F=ma}
\colorbox{aqua}{F=maF=ma}
\fcolorbox{red}{aqua}{F=maF=ma}

This is html injection result on after post
This is html injection result on aside
This is html injection result on before body