Insert an image in Markdown
The line to write in a README, a wiki or your notes.
PRACTICAL GUIDE
Markdown is crossed in README, wikis, many note tools. Inserting an image fits in one line, provided it has its direct link.
The basic syntax

The exclamation point indicates an image; without it you get a simple link. The text in square brackets is the alternative text, read by screen readers and displayed if the image does not load. Describe what you see: "Settings menu capture" helps much more than "image1".
Add a title to the overview

The text in quotation marks appears on the flyover in the tools that support it.
Making the image clickable
[](https://exemple.fr/page)
The image is slipped into a link. A click opens the address placed in the last brackets.
Check size
The standard Markdown does not handle dimensions. The simplest is to import a copy already at the right size. Otherwise, if your tool accepts HTML in Markdown, use <img src="https://exemple.fr/image.png" alt="Description" width="400">. Look at the preview, as some tools filter HTML.
Frequent errors
- Paste the address of a page instead of the direct link the file.
- Leave a space between
]and(: the syntax is no longer recognised. - Use a local path (
C:\...or/Users/...) : it only works on your computer.
Keep in mind that the image is public. In an open documentation, a capture that shows an API key or an internal address is quickly detected.
Also read: integrate an image into HTML. Import Image →