TypstDocumentation

imageShowable
Question mark

A raster or vector graphic.

Supported formats are PNG, JPEG, GIF and SVG.

Example

#align(center)[
  #image("molecular.jpg", width: 80%)

  *A step in the molecular testing
  pipeline of our lab*
]
Preview

Parameters
Question mark

path
stringRequiredPositional
Question mark

Path to an image file.

width

The width of the image.

height

The height of the image.

fit
stringSettable
Question mark

How the image should adjust itself to a given area.