diff options
| author | Joseph Elliott Hand <jhand@hawaii.edu> | 2026-07-20 19:39:40 -1000 |
|---|---|---|
| committer | Joseph Elliott Hand <jhand@hawaii.edu> | 2026-07-20 19:39:40 -1000 |
| commit | 4bd6e1ee6aac058eaae081ce9a7b31295a19eab1 (patch) | |
| tree | 6f492861f887d0986692bf2fde09e1bc2d214dc3 | |
| parent | 449bfa0b8e72b296f8b7b0dd83ee40fce46df710 (diff) | |
| download | josephhand.space-4bd6e1ee6aac058eaae081ce9a7b31295a19eab1.tar.gz | |
Improve code block rendering
Signed-off-by: Joseph Elliott Hand <jhand@hawaii.edu>
| -rw-r--r-- | hugo.toml | 4 | ||||
| -rw-r--r-- | static/style.css | 6 |
2 files changed, 10 insertions, 0 deletions
@@ -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; +} |
