Katex
<time datetime="2023-06-20 00:00:00 +0000 UTC">June 20 2023</time><span class="px-2 text-primary-500">·</span><time datetime="2024-02-20 16:00:25 -0600 CST">Updated: February 20 2024</time><span class="px-2 text-primary-500">·</span><span>126 words</span><span class="px-2 text-primary-500">·</span><span title="Reading time">1 min</span>
Blowfish
Shortcodes
Katex
blowfish shortcodes - This article is part of a series.
🐡 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.