infidel-cupper-theme/layouts/shortcodes/cmd.html
2022-04-10 15:20:41 +07:00

8 lines
154 B
HTML

{{ $trimmed := (trim .Inner "\n") }}
{{ $lines := split $trimmed "\n" }}
<pre class="cmd">
{{ range $lines }}
<code>{{ . }}</code>
{{ end }}
</pre>