aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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)