Last updated 2022-09-23 22:16:47

Embedding Images In Markdown Documents

The syntax for adding an image to a Markdown document is fairly straightforward.

01: ![Alt text goes here](/path/to/image.png)

This syntax is very similar to that of an anchor link [→] with the only difference being this one starts with the ! symbol.

This will generate HTML code equivalent to the following.

01: <img alt="Alt text goes here" src="/path/to/image.png" />

There is no direct syntax for creating links that open up in a new tab. To learn more about possible solutions check out this article [→].

Here is another article for you 😊 "Highlighting code snippets in Markdown"