Left-pad <pre> instead of spaces
This commit is contained in:
		
							parent
							
								
									a584424972
								
							
						
					
					
						commit
						fd56a2aa79
					
				
					 1 changed files with 11 additions and 13 deletions
				
			
		|  | @ -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> | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue