{{- /* This shortcode creates a block of code with syntax highlighting. @returns {template.HTML} @examples ```bash echo "ext_$(date +%s%N | sha512sum | fold -w 8 | head -n 1)" ``` */ -}} {{ $attr := (.Attributes) }} {{ $type := ((.Type) | default "plaintext") }} {{ $inner := ((trim (.Inner) "\n\r") | chomp) }} {{ $ordinal := (.Ordinal) }} {{ $cp := ((printf "clipboard-%s-%d" (delimit (shuffle (seq 11 99)) "") ($ordinal)) | md5) }} {{ if (or ($attr.title) ($attr.file)) }}