From fd56a2aa79cfc0567f1eeb45d1f246bf8990b388 Mon Sep 17 00:00:00 2001 From: Rupus Reinefjord <rupus@reinefjord.net> Date: Mon, 9 May 2022 20:09:31 +0200 Subject: [PATCH] Left-pad <pre> instead of spaces --- public/blog/2022-05-09-this-website.html | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/public/blog/2022-05-09-this-website.html b/public/blog/2022-05-09-this-website.html index 0817439..f4205cf 100644 --- a/public/blog/2022-05-09-this-website.html +++ b/public/blog/2022-05-09-this-website.html @@ -33,6 +33,7 @@ pre { overflow-x: auto; + padding-left: 1rem; } </style> </head> @@ -77,20 +78,17 @@ <p>Being able to do this makes me happy, though:</p> -<pre><code> - $ nc reinefjord.net 80 - GET / HTTP/1.0 - Host: www.reinefjord.net +<pre><code>$ nc reinefjord.net 80 +GET / HTTP/1.0 +Host: www.reinefjord.net - HTTP/1.1 200 OK - Server: nginx/1.14.2 - Date: Mon, 09 May 2022 16:43:00 GMT - Content-Type: text/html - Content-Length: 2262 - Last-Modified: Sat, 25 Dec 2021 11:29:26 GMT - ... - -</code></pre> +HTTP/1.1 200 OK +Server: nginx/1.14.2 +Date: Mon, 09 May 2022 16:43:00 GMT +Content-Type: text/html +Content-Length: 2262 +Last-Modified: Sat, 25 Dec 2021 11:29:26 GMT +...</code></pre> </main>