summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/file.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/file.md b/templates/file.md
index e82f1c9..5f4dcbd 100644
--- a/templates/file.md
+++ b/templates/file.md
@@ -6,9 +6,10 @@
{% include '_breadcrumbs.md' %}
{% if type == 'text' %}
-```{{ file_extension }}
+{% set backticks = '`' * backtick_max %}
+{{ backticks }}{{ file_extension }}
{{ content }}
-```
+{{ backticks }}
{% elif type == 'image' %}
![](data:image/png;base64,{{ content }})
{% elif type == 'empty' %}