Example macro

Back to Available macros

The Example macro wraps its parameter into a verbatim block, and then replicates the parameter. This makes it easy to construct simple examples.

Properties

Output expansion default

Disabled.

Parameters

The text to copy.

Variables

Example.class_name
The class-name to give to the equation html-div. Default: Example.

Examples

[[Example]]:
    [[set text]]: Hello world!
    [[text]]
[[set text]]: Hello world!
[[text]]

Hello world!

Files

Example macro