6 lines
257 B
Text
6 lines
257 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
|
|
= markup(blob.name, blob.data, context)
|