Skip to content

Added ability to serve files in the wiki repository (images/attachments)

Created by: harbulot

This patch allows for embedding images and using attached files in the wiki, when these files have been placed into the wiki repository.

To use, clone the wiki repository locally (Git Access tab in the wiki section), add and commit images or other files, and push the changes back to your Gitlab installation.

You can then embed images or link to these files for download:

![Fallback title when the image isn't found](image.png)

[Download file](attachement.pdf)

Note that this doesn't work if files are in subdirectories: they need to be in the repository's top directory.

Merge request reports