Allows linking to specific lines in files.
Depends on gitlabhq/pygments.rb#1
Wrap all content lines in text files wont work when navigating via ajax
I made a commit with line anchors only - 10d881c. I authored it with you cause I take code from this PR if you dont mind
I'll look into it and update the PR, because without this highlighting the lines won't work.
There is the hl_lines option in Pygments, but you have no access to URL anchors on the server side. :(
Allow linking to file lines
Supported formats: "L12" for single lines and "L12-34" for multiple lines
Rebased and updated. It doesn't rewrite the whole text any more. Also JS and CSS are much saner now. ;)
But it depends on a custom Pygments formatter for GitLab (see gitlabhq/pygments.rb#1)
Note: The Gemfile points to my pygments.rb fork at the moment. The Gemfile needs to be updated to GitLab's fork once the PR is accepted.
Use pygments.rb fork with a custom formatter
Updated to use GitLab's fork of pygments.rb.
Has anyone looked at this?
@riyad I'll take a look tomorrow :)
A bit busy with https://github.com/gitlabhq/gitlab-ci today
nice. Thank you!
Merge branch 'remove_external_trackers_from_yml' into 'master'
We've moved external trackers to service, remove from gitlab.yml.
See merge request !1743
Merge branch '1937-https-clone-url-username' into 'master'
Add the username of the current user to the HTTP(S) clone URL
See merge request !9347