KaTex
EasyDocs uses KaText to render mathematical equations. To integrate KaTeX, wrap your math expression between two dollar signs ($) for a block-level equation or a single dollar sign ($) for inline math.
Warning
Never forget to wrap your math expression between two $
or two $
.
A list of the supported notations is here. You can write your mathematical expressions on the KaTex demo page.
Demo
Block-level equation
$$
ax^2 + bx + c = 0
$$
or
$$
begin{equation}
begin{split}
(a - b)^2 &= (a - b)(a - b) \
&= a(a - b) - b(a - b) \
&= a^2 -ab -ba + b^2 \
&= a^2 + 2ab + b^2 nonumber
end{split}
end{equation}
$$
Inline equation
$E = mc^2$