summaryrefslogtreecommitdiffstats
path: root/hugo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml50
1 files changed, 20 insertions, 30 deletions
diff --git a/hugo.toml b/hugo.toml
index b2835e5..1f2c466 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -15,36 +15,26 @@ copyright = "Copyright © 2024, GlowIsle."
protocol = "http://"
path = "" # 保持路径在根目录
-[markup]
- defaultMarkdownHandler = "goldmark"
- [markup.highlight]
- codeFences = true
- guessSyntax = true
- lineNos = true
- lineNumbersInTable = true
- noClasses = false
- style = "onedark"
- tabWidth = 4
-
- [markup.goldmark]
- [markup.goldmark.extensions]
- definitionList = true
- footnote = true
- linkify = true
- strikethrough = true
- table = true
- taskList = true
- typographer = true
-
- [markup.goldmark.parser]
- attribute = true
- autoHeadingID = true
- autoHeadingIDType = "github"
-
- [markup.goldmark.renderer]
- unsafe = true
- hardWraps = false
- xHTML = false
+
+[markup.goldmark.renderer]
+unsafe = true
+
+[markup.goldmark.parser]
+ [markup.goldmark.parser.attribute]
+ block = true
+ title = true
+ wrapStandAloneImageWithinParagraph = false
+
+[markup.goldmark.extensions]
+ [markup.goldmark.extensions.extras]
+ [markup.goldmark.extensions.extras.mark]
+ enable = true
+
+[markup.highlight]
+guessSyntax = true
+noClasses = true
+style = "evergarden"
+tabWidth = 4
[taxonomies]
category = "categories"