summaryrefslogtreecommitdiff
path: root/lib/gitlab/highlight.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-2/+2
|
* Use Diff::File blob methods from diff highlighterdm-highlight-diff-file-blobDouwe Maan2017-06-081-8/+0
|
* Blob#load_all_data! doesn’t need an argumentblob-load-all-dataDouwe Maan2017-06-071-1/+1
|
* Autolink package names in GemfileDouwe Maan2017-05-101-10/+27
|
* Copy code as GFM from diffs, blobs and GFM code blocksDouwe Maan2017-03-141-2/+2
|
* use the proper variable names o_Ohttp://jneen.net/2016-07-141-2/+2
|
* style: factor out `@lexer` into a methodhttp://jneen.net/2016-07-141-9/+13
|
* fix Gitlab::Highlight#initializer bugs from rebasehttp://jneen.net/2016-07-141-1/+2
|
* use the local lexer variable to respect plain: ...http://jneen.net/2016-07-141-1/+1
|
* inline #rouge_formatterhttp://jneen.net/2016-07-141-6/+2
|
* use the new token_lines interface to format lineshttp://jneen.net/2016-07-141-4/+1
|
* kill the :cssclass optionhttp://jneen.net/2016-07-141-1/+0
|
* kill the nowrap optionhttp://jneen.net/2016-07-141-11/+5
| | | | | the <pre><code> wrapping is *always* used by the helper, and *never* by anywhere else, so pull the wrapping into the helper
* the call site always specifies this optionhttp://jneen.net/2016-07-141-1/+0
|
* do this thing in a clearer wayhttp://jneen.net/2016-07-141-3/+6
|
* support cgi style options, such as erb?parent=jsonhttp://jneen.net/2016-06-271-3/+3
|
* make #custom_language privatehttp://jneen.net/2016-06-271-8/+8
|
* appease rubocophttp://jneen.net/2016-06-271-2/+1
|
* add custom highlighting via .gitattributeshttp://jneen.net/2016-06-271-5/+23
| | | | paired with @stanhu
* Properly handle bigger filesZeger-Jan van de Weg2016-04-281-4/+9
|
* Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into lazy-blobsJacob Vosmaer2016-02-011-0/+1
|
* Don't crash when file can't be highlightedDouwe Maan2016-01-191-9/+3
|
* Refactor Gitlab::Highlight and fix testsDouwe Maan2016-01-191-6/+20
|
* Add inline diff markers in highlighted diffs.Douwe Maan2016-01-141-0/+7
|
* Remove duplication around highlighting.Douwe Maan2016-01-141-0/+23