debian-mirror-gitlab/app/views/projects/blob/viewers/_markup.html.haml
2019-05-18 00:54:41 +05:30

4 lines
231 B
Text

- blob = viewer.blob
- context = blob.respond_to?(:rendered_markup) ? { rendered: blob.rendered_markup } : {}
.file-content.md.md-file{ class: ('use-csslab' if Feature.enabled?(:csslab)) }
= markup(blob.name, blob.data, context)