diff --git a/content/post/math-typesetting.md b/content/post/math-typesetting.md index a1467e32..ab7b3af5 100644 --- a/content/post/math-typesetting.md +++ b/content/post/math-typesetting.md @@ -27,18 +27,20 @@ In this example we will be using [KaTeX](https://katex.org/) {{< math.inline >}} {{ if or .Page.Params.math .Site.Params.math }} - - - + + + {{ end }} {{ math.inline >}} ### Examples - -Inline math: $$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$ +{{< math.inline >}} +
+Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\) +
+{{ math.inline >}} Block math: - $$ \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } $$