diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/file.md | 5 |
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' %}  {% elif type == 'empty' %} |