Correct way to link to root? #23674
-
Is this the right way to link back to the root README.md of a project?
Other methods such as these seem to fail:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There isn’t really a “correct” way to link back to the root, but usually the more explicit the better. Both of these examples should work though:
Be aware that the first link won’t work when viewing the rendered file on GitHub.com in some instances, just down to the way GitHub constructs repository URLs compared to your Pages site. The second link should work for both though. The following should work, assuming the file that contains these links is inside a single directory:
|
Beta Was this translation helpful? Give feedback.
There isn’t really a “correct” way to link back to the root, but usually the more explicit the better. Both of these examples should work though:
Be aware that the first link won’t work when viewing the rendered file on GitHub.com in some instances, just down to the way GitHub constructs repository URLs compared to your Pages site. The second link should work for both though.
The following should work, assuming the file that contains these links is inside a single directory: