Skip to content

Commit

Permalink
📝 Docs: update hugo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Jul 9, 2024
1 parent 906f346 commit 3dcb3b1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,14 @@ enableEmoji = true
########## necessary configurations ##########
guessSyntax = true
# Goldmark is from Hugo 0.60 the default library used for Markdown
# https://gohugo.io/getting-started/configuration-markup/#goldmark
[markup.goldmark]
duplicateResourceFiles = false
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
linkifyProtocol = 'https'
strikethrough = false
table = true
taskList = true
Expand All @@ -173,9 +176,17 @@ enableEmoji = true
enable = true
[markup.goldmark.extensions.extras.superscript]
enable = true
# TODO passthrough refactor https://gohugo.io/getting-started/configuration-markup/#parserattributeblock
# TODO hugo 0.122.0 https://gohugo.io/content-management/mathematics/
[markup.goldmark.parser]
[markup.goldmark.parser.attribute]
block = true
title = true
[markup.goldmark.renderer]
hardWraps = false
# whether to use HTML tags directly in the document
unsafe = true
xhtml = false
# Table Of Contents settings
[markup.tableOfContents]
ordered = false
Expand Down

0 comments on commit 3dcb3b1

Please sign in to comment.