ref: f033d9f01d13d8cd08205ccfaa09919ed15dca77
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 -}}