{{- $src := (.Get "file") }} {{- $lang := .Get "language" | default ("python") }} {{- $opt := .Get "opt" | default ("linenos=table") }} {{- $path := (printf "/static/py/auto/Examples/%s" $src) }} {{- $file := $path | readFile }} {{- highlight (print $file) $lang $opt }} auto/Examples/{{$src}}