Reputation: 5555
I am writing some markdown ducuments using markdown pro
(http://www.markdownpro.com/)
somehow not all images i add are shown in the final document:
i add them like this
<img src="./img/clv.png" height="100"/>
but the result looks like that
the file structure looks like that:
whereas 'summary' is my .md file
i have also tried markdown syntax
![](./img/clv.png)
and explicit closing tags
<img></img>
but always get the same result, no image is shown.
other ways i tried:
<img src="./img/clv.png" height="100"/>
<img src="../img/clv.png" height="100"/>
<img src="img/clv.png" height="100"/>
<img src="~/img/clv.png" height="100"/>
result:
Upvotes: 5
Views: 4030
Reputation: 116
Hmm, try using the following tags instead:
<img src="../img/clv.png" height="100"/>
<img src="img/clv.png" height="100"/>
<img src="~/img/clv.png" height="100"/>
It looks like as if the problem is associated with the image's relative path. If this is correct, one of the above tags will work.
Upvotes: 2