Left-pad <pre> instead of spaces

This commit is contained in:
Rupus Reinefjord 2022-05-09 20:09:31 +02:00
parent a584424972
commit fd56a2aa79

View file

@ -33,6 +33,7 @@
pre {
overflow-x: auto;
padding-left: 1rem;
}
</style>
</head>
@ -77,8 +78,7 @@
<p>Being able to do this makes me happy, though:</p>
<pre><code>
$ nc reinefjord.net 80
<pre><code>$ nc reinefjord.net 80
GET / HTTP/1.0
Host: www.reinefjord.net
@ -88,9 +88,7 @@
Content-Type: text/html
Content-Length: 2262
Last-Modified: Sat, 25 Dec 2021 11:29:26 GMT
...
</code></pre>
...</code></pre>
</main>