Skip to content

Commit 9df68e7

Browse files
committed
Add: (config.yaml) Enable math equation rendering passthrough
See <https://gohugo.io/content-management/mathematics/#step-1>.
1 parent c4a1fa7 commit 9df68e7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,27 @@ params:
1313
colorScheme: auto # can be auto (browser setting), light, or dark
1414
images:
1515
- /images/logo.svg
16+
math: true
1617
navColor: blue
1718
font:
1819
name: "Lato"
1920
sizes: [400, 900]
2021
plausible:
2122
dataDomain: null
2223
javaScript: "https://views.scientific-python.org/js/script.js"
24+
25+
# Math equations.
26+
markup:
27+
goldmark:
28+
extensions:
29+
passthrough:
30+
delimiters:
31+
block:
32+
- - \[
33+
- \]
34+
- - $$
35+
- $$
36+
inline:
37+
- - \(
38+
- \)
39+
enable: true

0 commit comments

Comments
 (0)