Skip to content
Snippets Groups Projects
Commit 0c025624 authored by Douwe Maan's avatar Douwe Maan
Browse files

Render plain README using Markup viewer so it is displayed below tree

parent 6ca5a989
No related branches found
No related tags found
2 merge requests!12073Add RC2 changes to 9-3-stable,!11510Render plain README using Markup viewer so it is displayed below tree
Pipeline #
Loading
Loading
@@ -139,6 +139,15 @@
line-height: 1.6em;
overflow-x: auto;
border-radius: 2px;
&.plain-readme {
background: none;
border: none;
padding: 0;
margin: 0;
font-size: 14px;
}
}
 
p > code {
Loading
Loading
@@ -279,14 +288,6 @@ h6 {
/** CODE **/
pre {
font-family: $monospace_font;
&.plain-readme {
background: none;
border: none;
padding: 0;
margin: 0;
font-size: 14px;
}
}
 
code {
Loading
Loading
Loading
Loading
@@ -5,6 +5,7 @@ module BlobViewer
 
self.partial_name = 'markup'
self.extensions = Gitlab::MarkupHelper::EXTENSIONS
self.file_types = %i(readme)
self.binary = false
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment