omnilib / sphinx-mdinclude

Markdown extension for Sphinx
https://sphinx-mdinclude.omnilib.dev
MIT License
21 stars 11 forks source link

use image paths relative to md file #45

Open prozessorkern opened 5 months ago

prozessorkern commented 5 months ago

Description

we use this plugin to include readme.md files into the sphinx documentation. In this usecase used images are referenced relative to the *.md file - currently sphinx will not be able to find those files.

With this fix sphinx will search for images relative to the md file.