summaryrefslogtreecommitdiff
path: root/app/views/shared/_file_highlight.html.haml
Commit message (Collapse)AuthorAgeFilesLines
* add custom highlighting via .gitattributeshttp://jneen.net/2016-06-271-1/+3
| | | | paired with @stanhu
* renamed path to linkbarthc2016-06-231-2/+2
|
* fix clickable code search resultsbarthc2016-06-141-1/+2
|
* Properly handle bigger filesZeger-Jan van de Weg2016-04-281-2/+3
|
* Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Jacob Vosmaer2016-02-011-4/+3
|\ | | | | | | git-raw-workhorse
| * Use consistent markup and styling for highlighting across blobs, diffs, ↵Douwe Maan2016-01-211-2/+2
| | | | | | | | blame and snippets
| * Refactor Gitlab::Highlight and fix testsDouwe Maan2016-01-191-2/+1
| |
* | Use less memory while counting linesJacob Vosmaer2016-01-281-1/+1
|/
* Add copy-to-clipboard button to Snippets#showrs-snippets-clipboardRobert Speicher2015-12-091-2/+3
| | | | Closes #3701
* Add user_color_scheme class to file_highlightRobert Speicher2015-08-261-1/+1
| | | | | | | Prevents an unstyled flash that occurs when we were only applying the syntax highlighting class in Javascript. Now for these uncached blobs the server can add the syntax class, and for (possibly) cached fenced code blocks, the Javascript will add it as needed.
* Remove user_color_scheme_classRobert Speicher2015-08-251-1/+1
| | | | | | | | | Instead of rendering this value server-side, we use Javascript and Gon to apply the user's color scheme (or the default) to any syntax highlighted code blocks. This will make it easier to cache these blocks in the future because they're no longer state-dependent.
* Simplify line numberingRobert Speicher2015-06-191-1/+1
|
* Refactor and spec BlobView JSRobert Speicher2015-06-191-2/+2
|
* Fix timeout when rendering file with thousands of lines.fix-long-blob-timeoutDouwe Maan2015-06-051-1/+2
|
* Fix code rendering for snippetsDmitriy Zaporozhets2015-02-171-1/+2
|
* Replace highlight.js with rouge-fork rugmentsStefan Tatschner2015-01-151-0/+10
I decided to create a fork of rouge as rouge lacks a HTML formatter with the required options such as wrapping a line with <span> tags. Furthermore I was not really convinced about the clarity of rouge's source code. Rugments 1.0.0beta3 for now only includes some basic linting and a new HTML formatter. Everything else should behave the same.