improve syntax/code display
This commit is contained in:
@@ -2,8 +2,10 @@ baseurl = "https://mehl.mx/"
|
||||
languageCode = "en-GB"
|
||||
title = "Max Mehl"
|
||||
theme = [ "hugo-sustain", "hugo-cloak-email", "hugo-mastodon-comments", "hugo-snap-gallery" ]
|
||||
PygmentsStyle = "friendly"
|
||||
pygmentsCodeFences = true
|
||||
|
||||
[markup.highlight]
|
||||
codeFences = true
|
||||
style = "emacs"
|
||||
|
||||
[blackfriday]
|
||||
# preserves linebreaks, and transforms to <br />
|
||||
|
||||
@@ -151,3 +151,8 @@ figure.pull-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* CODE / SYNTAX */
|
||||
pre code {
|
||||
white-space:pre;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user