Github readme image embeds in private repo?

I came here through Google, trying to figure out how to embed figures, lying in a private repo inside the wiki of this private repo (so not the Readme.md). I also had the problem that raw links with the tokens didn't work for me.

The only thing that worked for me, where absolute links to the figures in the private repo, e.g.:

![header image](https://github.com/account/reponame/blob/master/myimage.png)

So directly link to the figure in the repo, not using the raw URL. Also, no need to use ?raw=true as suffix.


You need a token if you use the raw paths. Assuming that the image file is in the same repository, you can do it like this:

![Image](../blob/master/myimage.png?raw=true)

More on github blog