discover/web/content/fr/shortcodes/katex.md
2023-09-25 00:41:28 +02:00

585 B

title
KaTeX

KaTeX shortcode let you render math typesetting in markdown document.

Example

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

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

KaTeX can be used inline, for example {{< katex >}}\pi(x){{< /katex >}} or used with the display parameter (see above).