From a96c5e03c3fc6f559af1d78fc03c35644878d6c7 Mon Sep 17 00:00:00 2001 From: JasonDavis Date: Fri, 7 Sep 2012 22:24:14 -0400 Subject: [PATCH] Added Markdown file viewing ability to file template --- views/file.twig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/views/file.twig b/views/file.twig index 53617fe..e4cb16b 100644 --- a/views/file.twig +++ b/views/file.twig @@ -19,6 +19,10 @@ {% if fileType == 'image' %}
{{ file }}
+ + {% elseif fileType == 'markdown' %} +
{{ blob }}
+ {% else %}
{{ blob }}
{% endif %}