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 /README.md | |
parent | c98b510fe050e1ec643dff97e63c9323e4dfb227 (diff) |
#61, Add katex shortcode
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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) |