Creating a link in Markdown within the same repo

In Markdown is there a simple way to create a link to a file within the same repo?

That is, other than giving the full URL to the file.

You can use relative URLs, e.g. if you have two files:

In you could create a link like this:

Check my [test document](./abc/!

Thanks! That worked! (Well, I guess you knew it worked, but it was news to me, because it’s not strictly the URL, which includes the branch name and “blob”.)

1 Like