davideisinger.com

My personal website
Log | Files | Refs | README

commit 1ed0f8128eebd8760510c33e9f1d64133316ba57
parent f86f391e8267919f3ea8e2bf764a0d2ba25bf555
Author: David Eisinger <[email protected]>
Date:   Tue, 24 Oct 2023 20:48:55 -0400

add syntax highlighting

Diffstat:
Mconfig.toml | 2++
Mthemes/v2/assets/css/style.scss | 4+++-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/config.toml b/config.toml @@ -11,3 +11,5 @@ enableGitInfo = true [markup.goldmark] [markup.goldmark.renderer] unsafe = true + [markup.highlight] + style = 'nord' diff --git a/themes/v2/assets/css/style.scss b/themes/v2/assets/css/style.scss @@ -147,7 +147,9 @@ img { } pre { - background-color: #ddd; + background-color: #2e3440; + color: #d8dee9; + margin: 0; padding: 1ch 1ch; border-radius: 3px; }