Update Zola config for v0.22 compatibility

The highlighting config format changed in Zola 0.22: use
[markdown.highlighting] with style/light_theme/dark_theme fields
instead of the old highlight_code/highlight_theme fields.
This commit is contained in:
Sylvestre Ledru
2026-04-01 08:29:42 +02:00
parent 7dedc38e11
commit 9058d57cfe
+4 -7
View File
@@ -10,10 +10,7 @@ default_language = "en"
generate_feeds = true
[markdown]
highlight_code = true
highlight_theme = "css"
highlight_themes_css = [
{ theme = "OneHalfDark", filename = "syntax-theme-dark.css" },
{ theme = "OneHalfLight", filename = "syntax-theme-light.css" },
]
[markdown.highlighting]
style = "class"
light_theme = "one-light"
dark_theme = "one-dark-pro"