sphinx-mdinclude icon indicating copy to clipboard operation
sphinx-mdinclude copied to clipboard

Modify relative image/link paths

Open Details0824 opened this issue 2 years ago • 0 comments

Using mdinclude to embed the .md document outside the document can display docstring and other content, but when there is a relative path in the md file to display the image, the image cannot be read. Code show as below:

<div align="center">
   <img src="../../img_path.png" >
</div>

The image can be read by modifying the path to read the image relative to the path of the document where the mdinclude command is located, but how to display the image without changing the image read path in the .md file.

Details0824 avatar Aug 02 '22 03:08 Details0824