debian-mirror-gitlab/app/views/projects/blob/viewers/_markup.html.haml

5 lines
231 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- blob = viewer.blob
2019-03-02 22:35:43 +05:30
- context = blob.respond_to?(:rendered_markup) ? { rendered: blob.rendered_markup } : {}
2019-07-07 11:18:12 +05:30
.file-content.md.md-file{ class: ('use-csslab' if Feature.enabled?(:csslab)) }
2018-11-20 20:47:30 +05:30
= markup(blob.name, blob.data, context)