example

A callout holding a worked example. title: is the implicit attribute, and the body takes block content.

exampleNode
Writing with it:

#Attributes

titleImplicit
Example title. Rich text, so $maths$ and inline formatting render.
Can be written as shorthand: example:value

#Allowed content

#Allowed in

#Examples

example{
    x = 2 gives f(x) = 4.
}
example{
    If price rises, quantity demanded falls.
}(
    title: Law of Demand
)

Last updated