# markdown: Add HTML \`img\` tag support \(\#36700\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/1ca5e84019a1541943863f281f9b1804bba7dee1)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 1ca5e84019a1541943863f281f9b1804bba7dee1

Requested commit: 1ca5e84019a1541943863f281f9b1804bba7dee1

Commit: 1ca5e84019a1541943863f281f9b1804bba7dee1

Tree: 93605ab9f16311e8a10df922af1b81fbad2c9a48

Author: Remco Smits

Committer: GitHub

## Message

````
markdown: Add HTML `img` tag support (#36700)

Closes #21992

<img width="1406" height="1184" alt="Screenshot 2025-08-21 at 18 09 24"
src="https://github.com/user-attachments/assets/5f14a0d8-c4d9-48ad-b10d-fadfaca258ea"
/>

Code example:

```markdown
# Html Tag
<img src="https://picsum.photos/200/300" alt="Description of image" />

# Html Tag with width and height
<img src="https://picsum.photos/200/300" alt="Description of image" width="100" height="200" />

# Html Tag with style attribute with width and height
<img src="https://picsum.photos/200/300" alt="Description of image" style="width: 100px; height: 200px" />

# Normal Tag
![alt text](https://picsum.photos/200/300)
```

Release Notes:

- Markdown: Added HTML `<img src="/some-image.svg">` tag support
````

## Parents

- [d80f13242b410af03e54a0bdbe9c6007b9feb6d8](https://git.cafe/gitcafe/zed/commit/d80f13242b410af03e54a0bdbe9c6007b9feb6d8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/1ca5e84019a1541943863f281f9b1804bba7dee1?format=markdown)
