Add assessment

When creating tasks or questions, you can use various text markup options. A live preview is automatically updated after each edit, providing instant feedback and a clear visualization of how the task will appear to participants. Simply make changes in the text field, and the system will refresh the preview automatically.

TeX markup

The task text can be written using TeX markup. This allows the inclusion of mathematical expressions and formulas in text blocks, which is especially useful for scientific and technical disciplines.

For example, to center a formula, you can use the following expression

` $$ x^2 + y^2 = 4 $$ `

BBCode markup

The system allows text formatting using various tags to add links, highlight text, and insert images, audio, or video.

Inserting a link (URL)

To create a link, use the [url] tag. You can add the target=_blank attribute to open the link in a new tab.

For example:

` [url="https://www.example.com" target="_blank"]Visit our website[/url] `

Text formatting (Bold, Italic, Underline)

To format text, use the [b], [i], and [u] tags respectively.

For example:

` [b]Bold text[/b] `

` [i]Italic text[/i] `

` [u]Underlined text[/u] `

Inserting code (Code)

To insert code, use the [code] tag.

For example:

` [code]Program code[/code] `

Inserting images (Image)

To insert images, use the [img] tag. You can add width and height attributes to specify the image size.

For example:

` [img width="300" height="200"]https://www.example.com/image.jpg[/img] `

Inserting audio (Audio)

To insert audio, use the [audio] tag. You can add the autoplay attribute with the value true or false.

For example:

` [audio="mp3" autoplay="true"]https://www.example.com/file.mp3[/audio] `

Inserting video (Video)

Depending on the source, videos can be embedded using YouTube or without it.

Using YouTube

To embed a video, use the [video] tag. As the value, specify the unique video identifier (YouTube Video ID or YouTube Video Code). This is a unique combination of letters and numbers assigned to each YouTube video for identification.

The embedded video block may extend beyond the question display area. This is normal, as in task execution mode, the question occupies the full page width, making this size optimal.

For example:

` [video="youtube"]_BSwbgzeRmY[/video] `

Without using YouTube

To embed a video without using YouTube, use the [htmlvideo] tag

` [htmlvideo]https://www.example.com/file.mp4[/htmlvideo] `

Attributes of the [htmlvideo] tag:

  • poster: A link to an image displayed before the video starts playing.

  • autoplay: Automatically start playing the video after the page loads (default: false).

  • loop: Loop video playback (default: false).

  • muted: Play the video without sound (default: false).

  • width: Video width (in pixels).

  • height: Video height (in pixels).

Example of using attributes

` [htmlvideo poster="https://www.example.com/poster.jpg" autoplay="true" loop="true" muted="true" width="640" height="360"]https://www.example.com/file.mp4[/htmlvideo] `