What's the recommended syntax for an image with a hyperlink? I tried doing it with with the markdown toolbar buttons and the image and link buttons conflict with with each other, so I had to resort to HTML.
For example, to do this:
These work properly:
<a href="https://meta.stackoverflow.com/users/44330/jason-s">![alt text][1]</a>
[1]: https://www.gravatar.com/avatar/dd5a7ef1476fb01998a215b1642dfd07?s=128&d=identicon&r=PG
<a href="https://meta.stackoverflow.com/users/44330/jason-s">
<img src="https://www.gravatar.com/avatar/dd5a7ef1476fb01998a215b1642dfd07?s=128&d=identicon&r=PG">dd5a7ef1476fb01998a215b1642dfd07">
</a>
[<img src="https://www.gravatar.com/avatar/dd5a7ef1476fb01998a215b1642dfd07?s=128&d=identicon&r=PG">][2]dd5a7ef1476fb01998a215b1642dfd07">][2]
[2]: https://meta.stackoverflow.com/users/44330/jason-s
This does not:
<a href='https://meta.stackoverflow.com/users/44330/jason-s'>![alt text][1]</a>
(single quotes not allowed?)
Is there a way to do the same thing in Markdown without having to resort to HTML?