summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures/line_highlighter.html.haml
blob: 2782c50e29843d1f37a92a1cab457cc2e2f04d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
.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}"