github.com/wfusion/gofusion@v1.1.14/common/infra/watermill/docs/layouts/shortcodes/readfile.html (about) 1 {{$file := .Get "file"}} 2 {{- if eq (.Get "markdown") "true" -}} 3 {{- $file | readFile | markdownify -}} 4 {{- else -}} 5 {{ $file | readFile | safeHTML }} 6 {{- end -}}