How to add images to a markdown

Published on Aug. 22, 2023, 12:13 p.m.

The img element is a useful element in HTML. Markdown can add images using the alt text syntax.

How to Adding Images in Markdown

Here’s the syntax for Markdown images. Optional: title

![Alt text](https://assets.dian.com/articles/alligator/boo.svg "a title")

<img title="a title" alt="Alt text" src="/images/boo.svg">

How to Linked Images in Markdown

Here’s how you would have linked images with the markdown syntax:

[![Alt text](https://assets.diwqwwan.com/articles/alligator/boo.svg)](https://dwqwqian.com)