I have some Markdown files inside sub-directories on a local Gitea repository. They have image links pointing to some image files inside a top-level directory in the directory structure, something like /image/
.
For example:
The Markdown link uses an absolute path. Something like 
.
When rendered, the image link should look something like
http://domain.name/owner/repository/media/branch/master/image/image_file.png
However, Gitea looks in the Markdown’s own directory. The actual rendered link is something like
http://domain.name/owner/repository/media/branch/master/subdirectory/image/image_file.png
So the images do not load because the links do not point to the repository root, but to the current directory.
How can I change the asset path that Gitea uses when rendering Markdown?