gitlab-org--gitlab-foss/app/views/projects/tree/_readme.html.haml
2014-08-10 14:33:22 +02:00

12 lines
315 B
Text

%article.readme-holder#README
%h4.readme-file-title
%i.icon-file
= readme.name
.wiki
- if gitlab_markdown?(readme.name)
= preserve do
= markdown(readme.data)
- elsif markup?(readme.name)
= render_markup(readme.name, readme.data)
- else
= simple_format(readme.data)