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

5 lines
228 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-05-30 16:15:17 +05:30
.file-content.wiki.md{ class: ('use-csslab' if Feature.enabled?(:csslab)) }
2018-11-20 20:47:30 +05:30
= markup(blob.name, blob.data, context)