I already have a written document:
- docs
- chap1
- doc1.md
...
- img
- img1.png
here I inserted the image img1.png into doc1.md using
<div align=center>
<img width="200" src="../img/img1.png"/>
</div>
This will show the img1 very well in GitHub or other markdown editor. But if I deploy the doc in gitpages, the image broken.
If I use
<div align=center>
<img width="200" src="./img/img1.png"/>
</div>
it works.
But I don't want to make changes to my doc, how should I configure docsify to show the image properly?
I already have a written document:
here I inserted the image
img1.pngintodoc1.mdusingThis will show the img1 very well in GitHub or other markdown editor. But if I deploy the doc in gitpages, the image broken.
If I use
it works.
But I don't want to make changes to my doc, how should I configure docsify to show the image properly?