mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-06-18 06:14:07 +00:00
19 lines
523 B
Markdown
19 lines
523 B
Markdown
# KaTeX
|
|
|
|
KaTeX shortcode let you render math typesetting in markdown document. See [KaTeX](https://katex.org/)
|
|
|
|
## Example
|
|
|
|
{{< katex display >}}
|
|
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
|
|
{{< /katex >}}
|
|
|
|
|
|
## Display Mode Example
|
|
|
|
Here is some inline example: {{< katex >}}\pi(x){{< /katex >}}, rendered in the same line. And below is `display` example, having `display: block`
|
|
{{< katex display >}}
|
|
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
|
|
{{< /katex >}}
|
|
Text continues here.
|