hugo-book-theme/exampleSite/content/docs/shortcodes/katex.md

411 B

KaTeX

KaTeX shortcode let you render math typesetting in markdown document. See KaTeX

Example

{{< columns >}}

{{</* katex [class="text-center"] */>}}
x = \begin{cases}
   a &\text{if } b \\
   c &\text{if } d
\end{cases}
{{</* /katex */>}}

<--->

{{< katex >}} x = \begin{cases} a &\text{if } b \ c &\text{if } d \end{cases} {{< /katex >}}

{{< /columns >}}