6 lines
314 B
Text
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)
|