Remove katex support, for now
This commit is contained in:
parent
13daf0aa29
commit
56f7738d6e
|
@ -22,7 +22,6 @@ disqusShortname = "yourdiscussshortname"
|
||||||
# For more date formats see https://gohugo.io/functions/format/
|
# For more date formats see https://gohugo.io/functions/format/
|
||||||
dateFormat = "Jan 2, 2006"
|
dateFormat = "Jan 2, 2006"
|
||||||
codePenUser = "someUser"
|
codePenUser = "someUser"
|
||||||
katex = true
|
|
||||||
|
|
||||||
[menu]
|
[menu]
|
||||||
[[menu.nav]]
|
[[menu.nav]]
|
||||||
|
|
|
@ -22,7 +22,6 @@ params:
|
||||||
# For more date formats see https://gohugo.io/functions/format/
|
# For more date formats see https://gohugo.io/functions/format/
|
||||||
dateFormat: Jan 2, 2006
|
dateFormat: Jan 2, 2006
|
||||||
codePenUser: someUser
|
codePenUser: someUser
|
||||||
katex: true
|
|
||||||
|
|
||||||
menu:
|
menu:
|
||||||
nav:
|
nav:
|
||||||
|
|
|
@ -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} } }
|
|
||||||
$$
|
|
Loading…
Reference in New Issue
Block a user