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