From cf91f230e8b0b32c66c3d75edcf799971b1d08de Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Thu, 4 Jul 2024 23:07:31 +0800 Subject: [PATCH] :memo: Docs: update default hugo.toml --- hugo.toml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/hugo.toml b/hugo.toml index 1f2249c5..1126b7ef 100644 --- a/hugo.toml +++ b/hugo.toml @@ -157,10 +157,22 @@ enableEmoji = true definitionList = true footnote = true linkify = true - strikethrough = true + strikethrough = false table = true taskList = true typographer = true + # https://gohugo.io/getting-started/configuration-markup/#extras + [markup.goldmark.extensions.extras] + [markup.goldmark.extensions.extras.delete] + enable = true + [markup.goldmark.extensions.extras.insert] + enable = true + [markup.goldmark.extensions.extras.mark] + enable = true + [markup.goldmark.extensions.extras.subscript] + enable = true + [markup.goldmark.extensions.extras.superscript] + enable = true [markup.goldmark.renderer] # whether to use HTML tags directly in the document unsafe = true