5

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

enter image description here

the file structure looks like that:

enter image description here

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:

enter image description here

Sebastian Flückiger
  • 5,525
  • 8
  • 33
  • 69
  • In the screenshot, there is no extension to the `summary` file. I think it should be `summary.md`. Additionally, we can see extensions to the image files. So extensions are definitely enabled. This might mean that `summary` is not a markdown file. – Pankaj Parashar Dec 30 '14 at 13:38

1 Answers1

2

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.

Neelesh
  • 116
  • 2
  • 8