This commit is contained in:
Sivert V. Sæther 2022-06-21 13:58:14 +00:00
parent 10dca2972d
commit 9d95802629

View File

@ -5,6 +5,6 @@
{{ $content := .Inner }} {{ $content := .Inner }}
{{ $in := split .Inner "\n" }} {{ $in := split .Inner "\n" }}
{{ if gt (len $in) 1 }} {{ if gt (len $in) 1 }}
{{ $content = (delimit (after 2 $in) "\n") }} {{ $content = (delimit (after 1 $in) "\n") }}
{{ end }} {{ end }}
{{ transform.Highlight (htmlUnescape $content) (.Get 0) (delimit $opts ",") }} {{ transform.Highlight (htmlUnescape $content) (.Get 0) (delimit $opts ",") }}