RexYuan / crypto-site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting up

  1. Install Hugo
  2. git submodule update --init --recursive
  3. hugo server --navigateToChanged
  4. Preview at http://localhost:1313/

Writing

  1. hugo new docs/file.md
  2. Edit content/docs/file.md

Katex

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}
$$

About


Languages

Language:HTML 100.0%