aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/content/docs/shortcodes.md
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/docs/shortcodes.md')
-rw-r--r--exampleSite/content/docs/shortcodes.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/exampleSite/content/docs/shortcodes.md b/exampleSite/content/docs/shortcodes.md
index 1b1e344..0994210 100644
--- a/exampleSite/content/docs/shortcodes.md
+++ b/exampleSite/content/docs/shortcodes.md
@@ -166,3 +166,28 @@ sequenceDiagram
{{< /mermaid >}}
{{< /columns >}}
+
+
+## KaTeX
+
+{{< columns >}}
+
+```
+$$ x = \begin{cases}
+ a &\text{if } b \\
+ c &\text{if } d
+\end{cases} $$
+```
+
+<--->
+
+{{< katex >}}
+$$ x = \begin{cases}
+ a &\text{if } b \\
+ c &\text{if } d
+\end{cases} $$
+{{< /katex >}}
+
+{{< /columns >}}
+
+