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