Relative links in markdown files don't take /blob/ and /tree/ url segments into consideration.
If you have a README.md file that has a relative link to another markdown file in your repository the link will be broken in both tree
view and blob
view.
For example, with the following folder structure:
docs/
README.md
info.md
In the tree
view of the docs
folder the URL will be .../tree/master/docs
and the a link in the README.md
file to /info.md
will be .../docs/info.md
which 404s.
In blob
view of the README.md
file the URL will be .../blob/master/docs/README.md
and the link will be the same: .../docs/info.md