Images

You can insert images using \includegraphics command.

You can simply drag and drop an image into the input area and the system will automatically upload the image onto Eolymp server and add necessary markup to the message.

You can provide additional parameters to specify image size and other parameters.

Parameter

Type

Description

width

integer

width in pixels

height

integer

height in pixels

ratio

double

aspect ratio as width to height (i.e. 0.5 means image is twice as tall as wide)

title

string

title, which appears when hovering over image

class=invert

string

invert image colors in dark mode

Size

You can specify the size of the image using an additional option after the image address. You can either explicitly set width and height parameters or specify image aspect ratio using ratio, so we can correctly calculate image height based on width.

Caption

You can add a caption to an image by adding a special block around the image.

Dark mode

You can also tell Eolymp to invert image colors in dark mode. In some cases, it helps to adapt the image for the dark theme. To enable color inversion, add class=invert as an optional option.