Welcome to mirror list, hosted at ThFree Co, Russian Federation.

line_highlighter.html.haml « fixtures « javascripts « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 15ad1d8968fe5ed961688b687766bd24b6313110 (plain)
1
2
3
4
5
6
7
8
9
#tree-content-holder
  .file-content
    .line-numbers
      - 1.upto(25) do |i|
        %a{href: "#L#{i}", id: "L#{i}", 'data-line-number' => i}= i
    %pre.code.highlight
      %code
        - 1.upto(25) do |i|
          %span.line{id: "LC#{i}"}= "Line #{i}"