Activities

The {activity} and {activity-answer} blocks can be used to mark up activities and answers associated with those activities.

Activity

The {activity} marks out a piece of practical work that is undertaken by the student:

:::{activity} A first activity
:name: activity-first

This is an activity that you can undertake in your own time.
:::
Activity 1 - A first activity

This is an activity that you can undertake in your own time.

If you do not provide a :name: attribute, then the activity will not be numbered and will not be cross-referenceable.

If you provide a :name: attribute, then you can refer to activities (such as Activity 1) using the standard cross-referencing functions.

Answer

Optionally the activity can be provided with an answer that is initially hidden:

::::{activity} Another activity
:name: another-activity

This is an activity you should undertake on your own, but we have also provided an answer.

:::{activity-answer}
This is a sample answer for the activity, which the user can show by clicking on the link.
:::
::::
Activity 2 - Another activity

This is an activity you should undertake on your own, but we have also provided an answer.


This is a sample answer for the activity, which the user can show by clicking on the link.

Time

The {time} block is used to indicate that something will take a given amount of time an activity may take, but can be used anywhere you want to indicate a time-span:

:::{time} 20 minutes
:::

This produces:

20 minutes

Qualitative timings

If you only want to give qualitative timings, then use the {fa-icon}`code-point` role to add pencils (or other icons used to indicate timings):

:::{time} {fa-icon}`f303`{fa-icon}`f303`
:::

This produces:

f303f303