diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-08-22 23:59:51 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-08-23 00:01:14 +0200 |
commit | 185e52d2f6015671d8c7e8393ce26c6627f0553e (patch) | |
tree | d3fd109618a8e2dbc6085c584ee81a0600077e98 /exampleSite/content/docs | |
parent | c98b510fe050e1ec643dff97e63c9323e4dfb227 (diff) |
#61, Add katex shortcode
Diffstat (limited to 'exampleSite/content/docs')
-rw-r--r-- | exampleSite/content/docs/shortcodes.md | 25 |
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 >}} + + |