Skip to content

Commit

Permalink
feat: enable unsafe option in goldmark renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
Errant404 committed Mar 19, 2024
1 parent a20c8d2 commit 793810a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ baseURL = 'https://shuosc.github.io/slides'
canonifyURLs = true # Fix GitHub Pages wrong path

[outputs]
home = ["HTML", "RSS", "JSON"]
home = ["HTML", "RSS", "JSON"]

[markup.tableOfContents]
startLevel = 1
endLevel = 4
startLevel = 1
endLevel = 4

[markup.goldmark.renderer]
unsafe = true

[minify]
disableHTML = true
disableHTML = true

[outputFormats.Reveal]
baseName = "index"
Expand Down

0 comments on commit 793810a

Please sign in to comment.