ref: 55e290af41ad1c92af13679d4a84d64985d41456
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 -}}