Repository navigation
Conversation
|
Example test case: hkdobrev/github-test#5 |
Do these numbers match often? Look at this PR
Isn't fairly simple to add a title attribute like "Issue #123"
Why not use Regex to ensure there's a space? Or is that intentional?
I don't think anyone would make a PR on a repo and refer to an issue on a fork, the issue and PR would be on the upstream. |
|
@paulmolluzzo All of the limitations were intentional.
When you link to an issue from a comment, GitHub renders it with the
I don't get what you mean here. |
|
OK, I understand both points now, and they make sense. I'll give it a test in a bit and comment if I notice bugs. |
|
👍 Looks good to me and is a useful feature! You might want to see my comment on #64 about not working when you edit a title until you refresh. |
|
Yay! I've been wanting this too. Looks good :) Can you add it to the readme feature list? |
See isaacs/github#568 This aims to fix the most common case in a simple manner. - It links to PRs using GitHub redirect from issues/1 to pull/1 - It does not re-link when you edit a title unless you reload the page - It links when the issues or PR does not exist - It does not show title of issue/PR on hover like other issue/PR links - It does not check permissions - It links even text like #1foo - It does not support cross-repo and cross-fork links
See isaacs/github#568
This aims to fix the most common case in a simple manner.