Skip to content

Images

Kx Markdown can display static images inside a Practice Set context block.

Images use Markdown-style image syntax:

![Description](/assets/path/image.png)

For example:

[context]
Vocabulary for using a computer and sending electronic mail.
![Classroom](/assets/es/ch2/book-3.png)
[/context]

The text inside the square brackets describes the image:

![Classroom](/assets/es/ch2/book-3.png)
^^^^^^^^^

This text becomes the image’s alternative text.

Use a short description that communicates the important content or purpose of the image.

Kx Markdown images use paths beneath /assets/.

/assets/es/ch2/book-3.png

A complete image declaration therefore looks like:

![Classroom](/assets/es/ch2/book-3.png)

An optional size instruction can follow the image:

![A classroom with desks, chairs, and a whiteboard](/assets/es/ch2/book-2.png)[size:50]

The size is an integer percentage from 1 through 100.

[size:25]
[size:50]
[size:75]
[size:100]

When size is omitted, Kx Markdown uses 100.

The image maintains its aspect ratio and is centered within the available content area.

Images are context content rather than practice-line visuals.

For example:

[context]
Study the classroom vocabulary shown below.
![A classroom](/assets/es/ch2/classroom.png)[size:60]
[/context]
- la pizarra
- la silla
- el escritorio

Use a static image when the same supporting image should remain part of the Practice Set context.