Yes, markdown supports adding images. The goal of markdown is to provide a more readable alternative syntax to that of HTML for writers and editors. The majority of the markdown syntax covers typographic HTML tags.
For example, to make a text bold in HTML you will use the following syntax
< b > text to bolden b > whereas in markdown that will be
** text to bolden **.
As you can see the markdown version is more readable although it still has special constructs around it. Also since markdown is focused on the typographical part of HTML there is no syntax or construct for most HTML tags such as input fields in markdown.
There is however syntax for adding images to your markdown document.
How to add an image using markdown
Below is an example of how to add an image to your markdown document using markdown syntax.
01: ![alt text](path/to/image.png)
It's very similar to the markdown link syntax, the only difference being that the image syntax starts with
How to add an image using HTML
As explained at the beginning of this post using the
b tag as an example markdown has a one-to-one syntax mapping with HTML.
This means markdown parsers in the end take markdown syntax and convert them to HTML. So whenever a parser finds HTML within a markdown document it does not need to covert it.
This means you can use HTML directly within your markdown document.
So if we would like to add an image to our markdown we can use the HTML
01: <img src="path/to/image.png" alt="alt text">