From 8b9a55e7de12da9a8bf85c70dca808900b65e3d4 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 11 May 2025 22:22:56 -0600 Subject: html: do not wrap code --- html/template.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'html') diff --git a/html/template.html b/html/template.html index 6d58af7d..5e473e3e 100644 --- a/html/template.html +++ b/html/template.html @@ -130,6 +130,12 @@ $endif$ padding: 1em; overflow: auto; } +pre > code { + white-space: pre; +} +pre code { + display: inline-block; +} hr { background-color: var(--fg); border: none; -- cgit v1.2.3