aboutsummaryrefslogtreecommitdiff
path: root/exampleSite
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/docs/shortcodes.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/exampleSite/content/docs/shortcodes.md b/exampleSite/content/docs/shortcodes.md
index 0994210..2844acb 100644
--- a/exampleSite/content/docs/shortcodes.md
+++ b/exampleSite/content/docs/shortcodes.md
@@ -172,20 +172,22 @@ sequenceDiagram
{{< columns >}}
-```
-$$ x = \begin{cases}
+```latex
+{{</* katex */>}}
+x = \begin{cases}
a &\text{if } b \\
c &\text{if } d
-\end{cases} $$
+\end{cases}
+{{</* /katex */>}}
```
<--->
{{< katex >}}
-$$ x = \begin{cases}
+x = \begin{cases}
a &\text{if } b \\
c &\text{if } d
-\end{cases} $$
+\end{cases}
{{< /katex >}}
{{< /columns >}}