Create relative links to compare tags in Gitlab markdown
Description
Description quoted from here: https://stackoverflow.com/questions/39145264/create-a-link-to-compare-tags-in-gitlab-markdown
We keep a changelog.md in the root of our gitlab projects and would like to include a link in each version tag to compare it to the previous tag.
The link needs to be e.g
https://gitlab.company.com/group/project/compare/v15.4.0...v15.3.0
All relative links in markdown that I've tried end up relative to the current branch (including master) e.g.
[v15.4.0](compare/v15.3.0...v15.4.0)
,[v15.4.0](../compare/v15.3.0...v15.4.0)
and[v15.4.0](../../compare/v15.3.0...v15.4.0)
all end up with the linkhttps://gitlab.company.com/group/project/branch/compare/v15.3.0...v15.4.0
Is there a way to create a link relative to the project root rather than the current branch?
Proposal
Being able to write that syntax would be great:
tag1...tag2
"v0.1.0"..."v0.2.0"
Links / references
https://stackoverflow.com/questions/39145264/create-a-link-to-compare-tags-in-gitlab-markdown