Using LaTeX Math
You can use $\LaTeX$ math in your markdown files. Here are some examples:
Input:
$${\displaystyle \int \_{0}^{1}x^{2}\,\mathrm {d} x={\frac {1}{3}}.}$$
Output: $$ {\displaystyle \int _{0}^{1}x^{2},\mathrm {d} x={\frac {1}{3}}.} $$
Input:
$$
\begin{align*}
\int\_{-\infty}^\infty e^{-x^2} dx &= \sqrt{\pi}
\sum\_{n=1}^\infty \frac{1}{n^2} &= \frac{\pi^2}{6}
\frac{d}{dx} \left( \int\_{-\infty}^x e^{-t^2} dt \right) &= e^{-x^2}
\end{align*}
$$
$$
\begin{align*}
\int_{-\infty}^\infty e^{-x^2} dx &= \sqrt{\pi}
\sum_{n=1}^\infty \frac{1}{n^2} &= \frac{\pi^2}{6}
\frac{d}{dx} \left( \int_{-\infty}^x e^{-t^2} dt \right) &= e^{-x^2}
\end{align*}
$$
Input:
You can also use LaTeX math inlined, like this: $P(A|B) = \frac{P(B|A) \cdot P(A)}{P(B)}$.
Output:
You can also use LaTeX math inlined, like this: $P(A|B) = \frac{P(B|A) \cdot P(A)}{P(B)}$.