{{ $text := ((.text) | markdownify) }} {{ $hasP := (strings.Contains ($text) "

") }} {{ if (not ($hasP)) }}

{{ ($text) }}

{{ else }}{{ ($text) }}{{ end }}