since I can !INCLUDE a md file into a merged one, but the md file to be included may have relative path point to some images, the final merged md may have a wrong image path reference, when compile with pandoc or some markdown processor, the path link will broken.
do u guys have any advice on how to handle such situation?
let's say, index.mdpp INCLUDE chapters/chapter1/section1.md, and section1.md refers to relative images/image1.png, in generated index.md, the image path should be chapters/chapter1/images/image1.png
since I can !INCLUDE a md file into a merged one, but the md file to be included may have relative path point to some images, the final merged md may have a wrong image path reference, when compile with pandoc or some markdown processor, the path link will broken.
do u guys have any advice on how to handle such situation?
let's say,
index.mdpp
INCLUDEchapters/chapter1/section1.md
, andsection1.md
refers to relativeimages/image1.png
, in generated index.md, the image path should bechapters/chapter1/images/image1.png