- Install Hugo
git submodule update --init --recursivehugo server --navigateToChanged- Preview at
http://localhost:1313/
hugo new docs/file.md- Edit
content/docs/file.md
Put the following at the top of the document to enable Katex:
{{< katex />}}
{{< cl_macro >}}Use $math_inline$ and $$math_block$$ as usual. Alternatively,
use \\(math_inline\\) and \\[math_block\\].
See Supported Functions.
Note that line breaks must be escaped. For example:
$$
\begin{array}{cc}
a & b \\\\
c & d
\end{array}
$$