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

_highlight_embed.html.haml « viewers « blob « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6a631fef1a97f1b8da16daa1816b9d3085623143 (plain)
1
2
3
4
5
6
7
8
9
.file-content.code.js-syntax-highlight
  .line-numbers
    - if blob.data.present?
      - blob.data.each_line.each_with_index do |_, index|
        %span.diff-line-num= index + 1
  .blob-content{ data: { blob_id: blob.id } }
    %pre.code.highlight
      %code
        = blob.present.highlight