gitlab-org--gitlab-foss/app/views/projects/blob/viewers/_markup.html.haml

4 lines
169 B
Text

- blob = viewer.blob
- context = blob.respond_to?(:rendered_markup) ? { rendered: blob.rendered_markup } : {}
.file-content.md
= markup(blob.name, blob.data, context)