# Katex

<time datetime="2023-08-30 23:48:06 -0500 CDT">Updated: August 30 2023</time>

blowfish
shortcodes
katex

## blowfish shortcodes - This article is part of a series.

Part 12: This Article

🐡 Shortcodes

`katex`

uses KaTeX to format mathematical expressions in your content.
The `katex`

shortcode can be used to add mathematical expressions to article content using the KaTeX package.

To include mathematical expressions in an article, simply place the shortcode anywhere with the content. It only needs to be included once per article and KaTeX will automatically render any markup on that page. Both inline and block notation are supported.

Refer to the online reference of supported TeX functions for the available syntax.

Inline notation can be generated by wrapping the expression in `\\(`

and `\\)`

delimiters.

Alternatively, block notation can be generated using `$$`

delimiters.

**Example:**

```
{{< katex >}}
\\(f(a,b,c) = (a^2+b^2+c^2)^3\\)
```

\(f(a,b,c) = (a^2+b^2+c^2)^3\)

Check out the mathematical notation samples page for more examples.

## blowfish shortcodes - This article is part of a series.

Part 12: This Article