improve syntax/code display
This commit is contained in:
@@ -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 />
|
||||||
|
|||||||
@@ -151,3 +151,8 @@ figure.pull-left {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* CODE / SYNTAX */
|
||||||
|
pre code {
|
||||||
|
white-space:pre;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user