2014-09-02 18:07:02 +05:30
|
|
|
- if gitlab_markdown?(blob.name)
|
|
|
|
.file-content.wiki
|
|
|
|
= preserve do
|
|
|
|
= markdown(blob.data)
|
|
|
|
- elsif markup?(blob.name)
|
|
|
|
.file-content.wiki
|
|
|
|
= render_markup(blob.name, blob.data)
|
|
|
|
- else
|
|
|
|
.file-content.code
|
|
|
|
- unless blob.empty?
|
2015-04-26 12:48:37 +05:30
|
|
|
= render 'shared/file_highlight', blob: blob
|
2014-09-02 18:07:02 +05:30
|
|
|
- else
|
|
|
|
.nothing-here-block Empty file
|