debian-mirror-gitlab/app/views/projects/blob/viewers/_markup.html.haml
2019-12-04 20:38:33 +05:30

4 lines
177 B
Text

- blob = viewer.blob
- context = blob.respond_to?(:rendered_markup) ? { rendered: blob.rendered_markup } : {}
.file-content.md.md-file
= markup(blob.name, blob.data, context)