BigW Consortium Gitlab

line_highlighter.html.haml 296 Bytes
Newer Older
1
#blob-content-holder
2 3 4
  .file-content
    .line-numbers
      - 1.upto(25) do |i|
5 6 7
        %a{href: "#L#{i}", id: "L#{i}", 'data-line-number' => i}
          %i.fa.fa-link
          = i
8 9 10 11
    %pre.code.highlight
      %code
        - 1.upto(25) do |i|
          %span.line{id: "LC#{i}"}= "Line #{i}"