gitlab-org--gitlab-foss/spec/javascripts/fixtures/line_highlighter.html.haml

12 lines
288 B
Text
Raw Normal View History

2017-04-13 12:47:28 -04:00
.file-holder
2015-06-06 23:15:32 -04:00
.file-content
.line-numbers
- 1.upto(25) do |i|
%a{href: "#L#{i}", id: "L#{i}", 'data-line-number' => i}
%i.fa.fa-link
= i
2015-06-06 23:15:32 -04:00
%pre.code.highlight
%code
- 1.upto(25) do |i|
%span.line{id: "LC#{i}"}= "Line #{i}"