gitlab-org--gitlab-foss/app/views/projects/tree/_readme.html.haml
2014-03-05 11:23:21 -08:00

13 lines
344 B
Text

.readme-holder#README
%h4.readme-file-title
%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
- elsif markup?(readme.name)
= render_markup(readme.name, readme.data)