aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-08-22 23:59:51 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-08-23 00:01:14 +0200
commit185e52d2f6015671d8c7e8393ce26c6627f0553e (patch)
treed3fd109618a8e2dbc6085c584ee81a0600077e98 /README.md
parentc98b510fe050e1ec643dff97e63c9323e4dfb227 (diff)
#61, Add katex shortcode
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6c3b4ab..76e59d5 100644
--- a/README.md
+++ b/README.md
@@ -260,6 +260,19 @@ sequenceDiagram
{{< /mermaid >}}
```
+### KaTeX Syntax
+
+Render math formulas with [KaTeX](https://katex.org/)
+
+```
+{{< katex >}}
+$$ x = \begin{cases}
+ a &\text{if } b \\
+ c &\text{if } d
+\end{cases} $$
+{{< /katex >}}
+```
+
## Contributing
### [Extra credits to contributors](https://github.com/alex-shpak/hugo-book/graphs/contributors)