Skip to content

WIP: Autolink packages in dependency files like `Gemfile`

Robert Speicher requested to merge rs-gemfile-linking into master

@DouweM has taken over this merge request, and writes:

Supports:

  • Gemfile (Ruby)
  • *.gemspec (Ruby)
  • package.json (Node.js)
  • composer.json (PHP)
  • Podfile (Objective-C)
  • *.podspec (Objective-C)
  • *.podspec.json (Objective-C)
  • Cartfile (Objective-C)
  • Godeps.json (Go)
  • requirements.txt (Python)

To do:

  • Make sure blob rendering performance doesn't suffer dramatically
  • Don't run pre-processing pipeline, because this may break the highlighting

Screen_Shot_2016-07-10_at_16.16.04

Screen_Shot_2016-07-10_at_16.16.25

Screen_Shot_2016-07-10_at_16.16.34

Screen_Shot_2016-07-10_at_16.16.46

Screen_Shot_2016-07-10_at_16.16.57

The link colors used are directly taken from the existing color palette for those themes.

Merge request reports