Merge pull request #1937 from riyad/add-file-line-links
Add file line links
This commit is contained in:
commit
b339c747a9
9 changed files with 411 additions and 199 deletions
|
@ -10,6 +10,6 @@
|
|||
- unless blob.empty?
|
||||
%div{class: current_user.dark_scheme ? "black" : "white"}
|
||||
= preserve do
|
||||
= raw blob.colorize(options: { linenos: true, lineanchors: :line, anchorlinenos: true })
|
||||
= raw blob.colorize(formatter: :gitlab)
|
||||
- else
|
||||
%h4.nothing_here_message Empty file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue