This page has moved. Please update your bookmark.

Document Portal

Images


Markdown uses an image syntax that is intended to resemble the syntax for links, allowing for two styles: inline and reference.

Inline image syntax looks like this:

Code:

![Alt text](uploads/image.jpg)

![Alt text](uploads/image.jpg "Optional title")

Results:

image.jpg

Reference-style image syntax looks like this:

Code:

![Alt text][id]

Where "id" is the name of a defined image reference. Image references are defined using syntax identical to link references:

[id]: uploads/image.jpg "Optional title"

Results:

Alt text

As of this writing, Markdown has no syntax for specifying the dimensions of an image; if this is important to you, you can simply use regular HTML <img> tags.


Back to: Markdown Concepts


Last modified: March 24, 2022 15:38:05 - Edit - Home - Index