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

6 lines
314 B
Text

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