From cc3d9aaa617023c3f159b221fba55304febdc4f4 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 19 Jul 2025 16:25:53 +0200 Subject: [PATCH] fix old posts atm --- hugo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hugo.toml b/hugo.toml index b1dec99..67d477e 100644 --- a/hugo.toml +++ b/hugo.toml @@ -50,6 +50,11 @@ ignoreErrors = ["error-disable-taxonomy"] # Configure markup highlighter to match "Bearblog" aesthetics, see # https://gohugo.io/configuration/markup/#highlight [markup] + # we need unsafe HTML for some of my older posts + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true + [markup.highlight] style = 'friendly' lineNos = true