{{$file := .Get "file"}}
{{- if eq (.Get "markdown") "true" -}}
{{- $file | readFile | markdownify -}}
{{- else if (.Get "highlight") -}}
{{- highlight ($file | readFile) (.Get "highlight") "nobackground=true" -}}
{{- else -}}
{{ $file | readFile | safeHTML }}
{{- end -}}