Skip to content

Modify relative image/link paths #7

@Details0824

Description

@Details0824

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions