knossos icon indicating copy to clipboard operation
knossos copied to clipboard

Auto link GitHub/GitLab issue/PR shorthand in markdown

Open PieKing1215 opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Whenever I'm copying the markdown from a github release to modrinth, if I tagged any issues/PRs using shorthand (eg. #5, gh-5), I have to spend several extra seconds manually adding the link to the markdown for it to work in modrinth, while github automatically links it. It would be a very minor qol boost if the frontend could automatically do it for me.

Describe the solution you'd like

Have shorthand issue/PR references be automatically linked if the project has a valid repo/issues page set.

Describe alternatives you've considered

No response

Additional context

For reference: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls https://docs.gitlab.com/ee/user/markdown.html#gitlab-specific-references

PieKing1215 avatar Mar 04 '22 04:03 PieKing1215