Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub: Any way to use relative links from Wiki to a file in the repo?

I'm working on the wiki inside our GitHub and would like to use shorter links to link to a file in the repo. I've found that if I use the normal relative link method as described here, the link is relative to the wiki, i.e. it tries to find a page in the wiki with that name, whereas the relative links described in GitHubs docs and blog are assuming that the link is in the README.

Is there a way to use shortened links from the wiki to files in the repo or do I have to use the full link?

like image 267
sixty4bit Avatar asked Apr 23 '15 16:04

sixty4bit


1 Answers

Try this one:

[I'm a relative reference to a repository file](../blob/master/LICENSE)
like image 200
luart Avatar answered Oct 18 '22 21:10

luart