BigW Consortium Gitlab

line_highlighter.html.haml 288 Bytes
.file-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}"