debian-mirror-gitlab/app/views/projects/blob/viewers/_markup.html.haml
2019-05-30 16:15:17 +05:30

4 lines
228 B
Text

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