Using Math in Planum
Planum Docs support rendering math equations using KaTeX. A guide to KaTeX can be found at https://katex.org/docs/supported.html.
Examples
Use single $
for inline math and $$
for block math.
Pythagoran theorem is $a^2 + b^2 = c^2$.
Bayes theorem:
$$P(A | B) = (P(B | A)P(A)) / P(B)$$
Pythagoran theorem is
Bayes theorem:
$$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
$$
\begin{CD}
A @>a>> B \\
@VbVV @AAcA \\
C @= D
\end{CD}
$$
$$
x = \begin{cases}
a &\text{if } b \\
c &\text{if } d
\end{cases}
$$
$$\textcolor{green}{F=ma}$$
$$\fcolorbox{red}{teal}{F=ma}$$
$$\fcolorbox{red}{yellow}{\textcolor{green}{F=ma}}$$
Limitations
HTML features of KaTeX are not fully supported in Planum Docs. There is limited support for using \url
and \href
commands.