summaryrefslogtreecommitdiff
path: root/config.toml
diff options
context:
space:
mode:
authorMole Shang <135e2@135e2.dev>2026-02-09 20:05:00 +0800
committerMole Shang <135e2@135e2.dev>2026-02-09 20:05:00 +0800
commitaf104cccb8a81815dd65bea7fbf44b4a9f542b7b (patch)
treedd3d5b60c5449931ebb1a2f9986c353b1c82c040 /config.toml
parenta10db22855f128fff4ccc3a91ea29e5ba8a268f7 (diff)
downloadzola-blog-af104cccb8a81815dd65bea7fbf44b4a9f542b7b.tar.gz
zola-blog-af104cccb8a81815dd65bea7fbf44b4a9f542b7b.tar.bz2
zola-blog-af104cccb8a81815dd65bea7fbf44b4a9f542b7b.zip
themes/Seje2: adapt to new giallo highlighting engine
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml13
1 files changed, 4 insertions, 9 deletions
diff --git a/config.toml b/config.toml
index 058cdc4..11d7eb6 100644
--- a/config.toml
+++ b/config.toml
@@ -26,15 +26,10 @@ taxonomies = [
{name = "tags", feed = true},
]
-[markdown]
-# Whether to do syntax highlighting
-# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
-highlight_code = true
-highlight_theme = "css"
-highlight_themes_css = [
- { theme = "one-dark", filename = "syntax-theme-dark.css" },
- { theme = "solarized-light", filename = "syntax-theme-light.css" },
-]
+[markdown.highlighting]
+style = "class"
+light_theme = "solarized-light"
+dark_theme = "one-dark-pro"
[extra]
# Put all your custom variables here