Skip to content

Commit 793810a

Browse files
committed
feat: enable unsafe option in goldmark renderer
1 parent a20c8d2 commit 793810a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

hugo.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@ baseURL = 'https://shuosc.github.io/slides'
33
canonifyURLs = true # Fix GitHub Pages wrong path
44

55
[outputs]
6-
home = ["HTML", "RSS", "JSON"]
6+
home = ["HTML", "RSS", "JSON"]
77

88
[markup.tableOfContents]
9-
startLevel = 1
10-
endLevel = 4
9+
startLevel = 1
10+
endLevel = 4
11+
12+
[markup.goldmark.renderer]
13+
unsafe = true
1114

1215
[minify]
13-
disableHTML = true
16+
disableHTML = true
1417

1518
[outputFormats.Reveal]
1619
baseName = "index"

0 commit comments

Comments
 (0)