diff options
author | Vanya Sergeev <vsergeev@gmail.com> | 2013-10-13 15:28:51 +0200 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2013-11-02 20:03:59 +0100 |
commit | f62ca211ebf8badd17fef5d15d61eb8ff00875c1 (patch) | |
tree | 93725537a05fab918bcdf50ee74120c627da79b1 /views | |
parent | d3bf98ea006f9949b16ad10f7d2c88d6809b8619 (diff) | |
download | git-arr-fork-f62ca211ebf8badd17fef5d15d61eb8ff00875c1.zip |
Add markdown blob support
Diffstat (limited to 'views')
-rw-r--r-- | views/blob.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/blob.html b/views/blob.html index 283bbcd..6244fc7 100644 --- a/views/blob.html +++ b/views/blob.html @@ -36,7 +36,9 @@ <a href="">{{!fname.html}}</a> </h3> -% if can_colorize(blob): +% if can_markdown(fname.unicode): +{{!markdown_blob(blob)}} +% elif can_colorize(blob): {{!colorize_blob(fname.unicode, blob)}} % else: <pre class="blob-body"> |