Marked image not shown

I am writing some markdown markup using markdown pro

( http://www.markdownpro.com/ )

somehow not all of the 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 this:

enter image description here

the file structure looks like this:

enter image description here

whereas "summary" is my .md file

I also tried the markup syntax

![](./img/clv.png)

      

and explicit end tags

<img></img>

      

but always get the same result, no image is displayed.

other ways I've 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:

enter image description here

+3


source to share


1 answer


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 the problem is with the relative path of the image. If this is correct, one of the above tags will work.

0


source







All Articles