gitlab-org--gitlab-foss/app/views/projects/tree/_readme.html.haml
Dmitriy Zaporozhets 586678622c
Restyle README section
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-29 18:36:41 +02:00

13 lines
318 B
Text

.readme-holder#README
%h4
%i.icon-file
= readme.name
.wiki
- if gitlab_markdown?(readme.name)
= preserve do
= markdown(readme.data)
- elsif plain_text_readme?(readme.name)
%pre.clean
= readme.data
- else
= raw GitHub::Markup.render(readme.name, readme.data)