Open rogerxu opened 8 years ago
Relative links in READMEs - User Documentation
A relative link is a link that is relative to the current file. For example, if you have a README file in root of your repository, and you have another file in docs/CONTRIBUTING.md
, the relative link to CONTRIBUTING.md
in your README might look like this:
[Contribution guidelines for this project](docs/CONTRIBUTING.md)
GitHub will automatically transform your relative link or image path based on whatever branch you're currently on, so that the link or path always works. You can use all relative link operands, such as ./
and ../
.
TBD
TBD
TBD
TBD
TBD
TBD
How to add relative links and render in README.md?