1
0
Fork 0

config: enable code highlighting with Dracula theme in markdown

This commit is contained in:
Harald Hoyer 2026-01-21 14:15:13 +01:00
parent 77430eb945
commit 23b333bfae

View file

@ -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. # truncate_content_length = 100 # Truncate at nth character. May be useful if index is getting too large.
[markdown] [markdown]
highlight_code = true
highlight_theme = "dracula"
render_emoji = false render_emoji = false
external_links_target_blank = true # rel="noopener" external_links_target_blank = true # rel="noopener"
external_links_no_follow = false # rel="nofollow" external_links_no_follow = false # rel="nofollow"
@ -39,10 +41,6 @@ extra_syntaxes_and_themes = [
"syntaxes/Sublime-console", "syntaxes/Sublime-console",
] ]
[markdown.highlighting]
theme = "dracula"
style = "inline"
[extra] [extra]
# Put all your custom variables here # Put all your custom variables here