<img />

Alternative to the Markdown image syntax. The output size can be specified.

Note

  • Images are always rendered proportionally.


Attribut

Description

src

URI of the image.

alt

Alternative text.

width

Output width.

Width can be in px (optional). All other units are ignored. If another unit is found, the width is set to auto.

If height is in em, width is ignored, even if valid.

height

Output height.

Height can be in px or em (optional). If the height is in em, the width is ignored.

Examples

<img src="myimage.png", alt="My image", width="200" />

<img src="myimage.png", alt="My image", height="5em" />