-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Look at these beautiful autolinking:
- 784a028
it washttps://github.com/sindresorhus/refined-github/commit/784a028af8c04da116e0bd5c0c07569eeef52486 - Support multiple input files: **/*.js rollup/rollup#1435
it washttps://github.com/rollup/rollup/issues/1435
But file links don't get the same treatment:
- https://github.com/sindresorhus/refined-github/blob/master/icon.ai
- https://github.com/sindresorhus/refined-github/blob/784a028af8c04da116e0bd5c0c07569eeef52486/src/content.js
- https://github.com/rollup/rollup/blob/master/.eslintrc
- https://github.com/rollup/rollup/blob/rollup-init/.eslintrc
- https://github.com/sindresorhus/refined-github/blame/patch-diff-shortcuts/.editorconfig
- https://raw.githubusercontent.com/sindresorhus/refined-github/patch-diff-shortcuts/readme.md
They should be shortened to:
master/icon.ai784a028/src/content.js- rollup/rollup/
master/.eslintrc - rollup/rollup/
rollup-init/.eslintrc - blame/
patch-diff-shortcuts/.editorconfig patch-diff-shortcuts/readme.md<-- link toraw
They might look a bit cryptic at first but perhaps they're better than multi-line full URLs. At the very least we can drop https (but not http), drop github.com, shorten commit hashes, and highlight branches and commits
Reactions are currently unavailable