diff --git a/templates/shortcodes/file_code_block.html b/templates/shortcodes/file_code_block.html new file mode 100644 index 0000000000..45bd75c982 --- /dev/null +++ b/templates/shortcodes/file_code_block.html @@ -0,0 +1,6 @@ +{% if not lang %} + {% set lang = "" %} +{% endif %} +{% set data = "```" ~ lang ~ " +" ~ load_data(path=path) ~ "```" %} +{{data | markdown(inline=true) | safe}} \ No newline at end of file