1 2 3 4 5 6 7 8 9 10 11 12 13
module BlobHelper def highlightjs_class(blob_name) if no_highlight_files.include?(blob_name.downcase) 'no-highlight' else blob_name.downcase end end def no_highlight_files %w(credits changelog copying copyright license authors) end end