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