{{ range . -}} {{- if ne (len .Content) 0 -}} {{- $content := replace .Content "
\n\n
" "
" -}} {{- $content := replaceRE ` {{- $content := replaceRE `()` `$1" data-line-numbers>` $content -}} {{- $content := replaceRE `()` `$1" data-line-numbers="$2">` $content -}} {{- $content := replace $content "
" "
" -}} {{- range (split $content "
") -}} {{- if not (in . "data-noprocess") -}}
{{- end -}} {{- . | safeHTML -}}
{{- end -}} {{- end -}} {{- end }}