debian-mirror-gitlab/app/views/projects/blob/viewers/_markup.html.haml
2019-07-07 11:18:12 +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)