ref: 5e39eb20a66812e08233431a6c3ffeef691a6f22
dir: /docs/layouts/shortcodes/readfile.html/
{{$file := .Get "file"}} {{- if eq (.Get "markdown") "true" -}} {{- $file | readFile | markdownify -}} {{- else if (.Get "highlight") -}} {{- highlight ($file | readFile) (.Get "highlight") "" -}} {{- else -}} {{ $file | readFile | safeHTML }} {{- end -}}