task
A callout posing an exercise for the reader. title: is the implicit attribute, and the body takes block content. The optional detail is the held-back half — a hint or a solution — rendered inside the callout, collapsed until revealed.
taskAliases:exerciseWriting with it:
#Attributes
titleTask title. Rich text, so
$maths$ and inline formatting render.Can be written as shorthand:
task:value#Allowed content
#Allowed in
#Examples
task{
Solve for x.
}task{
Compute the derivative of x^3.
}(
title: Practice
)task{
Finish the loop.
}[
The guard goes first, the update beneath it.
](
title: Practice
)