Geekdocs
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

KaTeX

KaTeX shortcode let you render math typesetting in markdown document.

Usage

{{< katex [display] [class="text-center"] >}}
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
{{< /katex >}}

Attributes

class optional list
List of space-separated CSS class names to apply.
Default: none

Example

\[f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi\]

KaTeX can be used inline, for example \(\pi(x)\) or used with the display parameter as above.