Preserve whitespace in src blocks.

This commit is contained in:
Tom Alexander 2023-12-21 12:04:29 -05:00
parent 65ed754bfe
commit b538750287
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 5 additions and 1 deletions

View File

@ -76,6 +76,10 @@ body {
.src_body {
margin: 0.5rem;
.src_line {
white-space: pre-wrap;
}
}
}

View File

@ -5,7 +5,7 @@
<tbody>
{#.lines}
<tr>
<td><code>{.}</code></td>
<td><code class="src_line">{.}</code></td>
</tr>
{/.lines}
</tbody>