From 56f7738d6e79cc7e78b13c1bfb748c7148feab95 Mon Sep 17 00:00:00 2001 From: zwbetz Date: Thu, 11 Apr 2019 09:32:07 -0500 Subject: [PATCH] Remove katex support, for now --- exampleSite/config.toml | 1 - exampleSite/config.yaml | 1 - .../post/katex-math-typesetting/index.md | 29 ------------------- 3 files changed, 31 deletions(-) delete mode 100644 exampleSite/content/post/katex-math-typesetting/index.md diff --git a/exampleSite/config.toml b/exampleSite/config.toml index ef07e39..1bd0698 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -22,7 +22,6 @@ disqusShortname = "yourdiscussshortname" # For more date formats see https://gohugo.io/functions/format/ dateFormat = "Jan 2, 2006" codePenUser = "someUser" - katex = true [menu] [[menu.nav]] diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index f424523..b24cc8e 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -22,7 +22,6 @@ params: # For more date formats see https://gohugo.io/functions/format/ dateFormat: Jan 2, 2006 codePenUser: someUser - katex: true menu: nav: diff --git a/exampleSite/content/post/katex-math-typesetting/index.md b/exampleSite/content/post/katex-math-typesetting/index.md deleted file mode 100644 index d4a368e..0000000 --- a/exampleSite/content/post/katex-math-typesetting/index.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: "Katex Math Typesetting" -date: 2019-03-28 -tags: [katex, math, typesetting, hugo] ---- - -Enable Katex in the config file by setting the `katex` param to `true`. This will import the necessary Katex CSS/JS. - -**Note:** Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html). - -Some math: - -``` -$$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$ -``` - -$$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$ - -More math: - -``` -$$ -\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ -``` - -$$ -\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$