From 8f1cdb6aee42d687d9f0574409b846b747e2960e Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Fri, 23 Aug 2019 13:22:11 +0200 Subject: #61, Remove need for $$ in katex shortcode --- exampleSite/content/docs/shortcodes.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'exampleSite/content/docs') 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 +{{}} +x = \begin{cases} a &\text{if } b \\ c &\text{if } d -\end{cases} $$ +\end{cases} +{{}} ``` <---> {{< katex >}} -$$ x = \begin{cases} +x = \begin{cases} a &\text{if } b \\ c &\text{if } d -\end{cases} $$ +\end{cases} {{< /katex >}} {{< /columns >}} -- cgit v1.2.3