Creating a link in Markdown within the same repo #23148
Answered
by
airtower-luna
lagbolt
asked this question in
New to GitHub
-
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. |
Beta Was this translation helpful? Give feedback.
Answered by
airtower-luna
Feb 15, 2021
Replies: 2 comments
-
You can use relative URLs, e.g. if you have two files:
In
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
-
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”.) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use relative URLs, e.g. if you have two files:
In
README.md
you could create a link like this: