summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hugo.toml4
-rw-r--r--static/style.css6
2 files changed, 10 insertions, 0 deletions
diff --git a/hugo.toml b/hugo.toml
index d3cc003..e821679 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -2,6 +2,10 @@ baseURL = 'https://josephhand.space/'
languageCode = 'en-us'
title = 'Joseph Hand'
+[markup]
+ [markup.highlight]
+ style = "pygments"
+
[menus]
[[menus.nav]]
name = 'code'
diff --git a/static/style.css b/static/style.css
index 15e9ee7..7d813b4 100644
--- a/static/style.css
+++ b/static/style.css
@@ -68,3 +68,9 @@ span.email span:nth-child(1) {
vertical-align: super;
font-size: 0.5rem;
}
+
+pre {
+ padding: 0 1em;
+ display: block;
+ overflow-x: scroll;
+}