Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A code example of how to nest an image in an anchor link with Markdown.
<!-- The link we want our bower bird to point to -->
<!-- The image url we want to use for our img tag source -->
This will compile to two html nodes:
Anchor: [linked item][1]: <a href="1">linked item</a>
Image: ![alt text][2]: <img src="2" alt="alt text" />
The image node will be nested inside of the anchor node.
[![ A Frontend Package Manager. logo][2]][1]
<!-- Reference -->
![ A Frontend Package Manager. logo][2]
<!-- Inline -->
![ A Frontend Package Manager. logo](
<!-- Reference -->
[My Bower Link][1]
<!-- Inline -->
[My Bower Link](
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment