From 23b333bfaefdb1c948c5128e95f2dbbd0d2bd12c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 21 Jan 2026 14:15:13 +0100 Subject: [PATCH] config: enable code highlighting with Dracula theme in markdown --- config.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config.toml b/config.toml index 472805d..7f53818 100644 --- a/config.toml +++ b/config.toml @@ -28,6 +28,8 @@ include_content = true # include rendered content of page/section in index # truncate_content_length = 100 # Truncate at nth character. May be useful if index is getting too large. [markdown] +highlight_code = true +highlight_theme = "dracula" render_emoji = false external_links_target_blank = true # rel="noopener" external_links_no_follow = false # rel="nofollow" @@ -39,10 +41,6 @@ extra_syntaxes_and_themes = [ "syntaxes/Sublime-console", ] -[markdown.highlighting] -theme = "dracula" -style = "inline" - [extra] # Put all your custom variables here