The first entry in the SUMMARY.md point to [pageA](folderA/pageA.md)
I added image.png in pageA.md using a relative path like so :
![text](../img/image.png)
Once compiled, the images display properly when I navigate to /folderA/pageA.html (Which is where I am redirected when clicking on the section in the sidebar).
However, the images are not displayed on index.html which is pretty much a copy of /folderA/pageA.hml. The link to the image is still ../img/image.png. I would have expected the image link to be modified to img/image.png when the index.html was generated since it's one folder up in the hierarchy.
Am I doing something wrong ?
Steps
No response
Possible Solution(s)
No response
Notes
I also tested adding a link to another page using the following syntax
[link](../folderB/pageB.md)
The same behavior happen where the link on the index.html are not rewritten and are therefore broken.
Problem
Given the following folder structure :
The first entry in the
SUMMARY.md
point to[pageA](folderA/pageA.md)
I added
image.png
inpageA.md
using a relative path like so :Once compiled, the images display properly when I navigate to
/folderA/pageA.html
(Which is where I am redirected when clicking on the section in the sidebar).However, the images are not displayed on
index.html
which is pretty much a copy of/folderA/pageA.hml
. The link to the image is still../img/image.png
. I would have expected the image link to be modified toimg/image.png
when theindex.html
was generated since it's one folder up in the hierarchy.Am I doing something wrong ?
Steps
No response
Possible Solution(s)
No response
Notes
I also tested adding a link to another page using the following syntax
The same behavior happen where the link on the
index.html
are not rewritten and are therefore broken.Version