Add a way to include code into a post
This commit is contained in:
1
themes/vanilla/layouts/shortcodes/codeblock
Normal file
1
themes/vanilla/layouts/shortcodes/codeblock
Normal file
@@ -0,0 +1 @@
|
||||
{{ highlight (readFile (printf "code/%s" (.Get 1))) (.Get 0) "" }}
|
||||
Reference in New Issue
Block a user