infidel-cupper-theme/layouts/shortcodes/cmd.html

8 lines
154 B
HTML
Raw Permalink Normal View History

2022-11-14 11:16:26 -05:00
{{ $trimmed := (trim .Inner "\n") }}
{{ $lines := split $trimmed "\n" }}
<pre class="cmd">
{{ range $lines }}
<code>{{ . }}</code>
{{ end }}
</pre>