remarkjs / remark-github

remark plugin to link references to commits, issues, pull-requests, and users, like on GitHub
https://remark.js.org
MIT License
179 stars 22 forks source link

Bug: If link # changes then the link does not update #10

Closed niftylettuce closed 7 years ago

niftylettuce commented 7 years ago

For example, if you start off with:

#123

It becomes

[#123](https://github.com/wooorm/remark-github/issues/123)

However if you change the issue number it still has the same inaccurate link:

[#456](https://github.com/wooorm/remark-github/issues/123)
wooorm commented 7 years ago

GitHub doesn’t change the link either, and allows that:

[#123](https://github.com/wooorm/remark-github/issues/123)
[#456](https://github.com/wooorm/remark-github/issues/123)

Yields:

#123 #456

wooorm commented 7 years ago

This is a feature, not a bug.