The code for creating an image in markdown is
[![enter image description here][-]][-]
What is the description used for? Is it displayed when the image cannot be, or for something else?
the description part for the image markdown is the
alt attribute for the actual html. so the html that's generated for your example would be:
<a href="[URL at -]"><img src="[URL at -]" alt="enter image description here" title></a>
this can be observed in any decent browser's Element Inspector (generally F12 or right clicking on the element and going to Inspect) where you'll see that the
alt for the
<img> changes to reflect the change you make to the markdown.
alt is used when an image doesn't appear on screen (such as the image file missing or if images are blocked) and generally if you want valid HTML you should be including the
alt attribute for all images