From 1dc827ee39bc30fc016c3575177459e7c0891819 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Fri, 9 Jun 2023 14:19:55 +0200 Subject: [PATCH] Pre and syntax highlighting --- config.toml | 1 + sass/style.scss | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/config.toml b/config.toml index 33a9f57..c47066b 100644 --- a/config.toml +++ b/config.toml @@ -6,6 +6,7 @@ build_search_index = false [markdown] highlight_code = true +highlight_theme = "kronuz" external_links_no_follow = true external_links_no_referrer = true smart_punctuation = true diff --git a/sass/style.scss b/sass/style.scss index 1fad6ec..6c1b261 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -45,6 +45,11 @@ img { max-width: 100%; } +pre { + overflow: auto; + padding: 1rem; +} + body>header { .img { display: block;