improve syntax/code display

This commit is contained in:
2020-02-14 09:09:50 +01:00
parent 3a6f752ada
commit 3b6281758a
2 changed files with 9 additions and 2 deletions

View File

@@ -2,8 +2,10 @@ baseurl = "https://mehl.mx/"
languageCode = "en-GB" languageCode = "en-GB"
title = "Max Mehl" title = "Max Mehl"
theme = [ "hugo-sustain", "hugo-cloak-email", "hugo-mastodon-comments", "hugo-snap-gallery" ] theme = [ "hugo-sustain", "hugo-cloak-email", "hugo-mastodon-comments", "hugo-snap-gallery" ]
PygmentsStyle = "friendly"
pygmentsCodeFences = true [markup.highlight]
codeFences = true
style = "emacs"
[blackfriday] [blackfriday]
# preserves linebreaks, and transforms to <br /> # preserves linebreaks, and transforms to <br />

View File

@@ -151,3 +151,8 @@ figure.pull-left {
display: flex; display: flex;
align-items: center; align-items: center;
} }
/* CODE / SYNTAX */
pre code {
white-space:pre;
}