BigW Consortium Gitlab

line_highlighter.html.haml 296 Bytes
#blob-content-holder
  .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
    %pre.code.highlight
      %code
        - 1.upto(25) do |i|
          %span.line{id: "LC#{i}"}= "Line #{i}"