We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c494fdc commit 2c5541eCopy full SHA for 2c5541e
layouts/shortcodes/readcode.html
@@ -4,6 +4,6 @@
4
<a href='{{ .Get "file" }}' download>Download {{ path.Base $filename }}</a>
5
</div>
6
<div class="readcode-code">
7
- {{- print "```" (.Get "lang") "\n" (readFile $filename) "```" | safeHTML | markdownify -}}
+ {{- highlight (readFile $filename) (.Get "lang") }}
8
9
0 commit comments