Skip to content

Images in Markdown

It’s a link with an exclamation mark in front. Brackets hold the alt text, parentheses hold the image path or URL.

![A cat asleep on a keyboard](cat.jpg)

The text in the brackets is the alt text. Screen readers and AI models read it instead of seeing the picture, so describe what actually matters in the image.

Define the image once with a label, then reuse the label — handy when the same image appears several times.

![Our logo][logo]
[logo]: /logo.png