From 185e52d2f6015671d8c7e8393ce26c6627f0553e Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 22 Aug 2019 23:59:51 +0200 Subject: #61, Add katex shortcode --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'README.md') 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) -- cgit v1.2.3