juju.re/jujure/layouts/shortcodes/code.html

4 lines
128 B
HTML
Raw Permalink Normal View History

{{ $file := .Get "file" | readFile }}
{{ $lang := .Get "language" }}
{{ (print "```" $lang "\n" $file "\n```") | markdownify }}