I have a GitLab repository with documentation in the attached wiki (i.e. NOT in the repo itself) and an image file inside the repository itself that I want to embed in wiki pages.
How can this be done?
From a wiki page, I can successfully link to the image using
[[../tree/master/pathto/myimage.jpg]]
or [[../raw/master/pathto/myimage.jpg]]
but
![](../raw/master/pathto/myimage.jpg)
doesn't seem to work.
(GitLab Community Edition 10.0.3)
Embedding using the absolute path to the repo and image worked:
![](https://url.of.my.repo/raw/master/pathto/myimage.jpg)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With