Links & Images in Markdown

Interactive Markdown tutorial on links and images: inline links, titled links and embedded pictures. Edit the live example and see the result instantly in your browser.

Two of Markdown’s most-used features point outward: links to other pages and images embedded in your text. Both share the same bracket-and-parenthesis shape.

Images

An image is a link with a ! in front. The text in brackets becomes the alt text (shown if the image can’t load, and read by screen readers), and the parentheses hold the image path:

![A scatter plot of the results](results.png)

Edit the example below — try changing the link text, the URL, and the alt text:

Notice how the link text is what you see, while the URL stays hidden behind it — and how the image’s alt text describes the picture. Always write meaningful alt text: it’s important for accessibility and SEO.


Next: Code & quotes → — showing code and quoting sources.