Variable Substitution Directives

@var

Inserts the given variable into the text.

Example:

The Scala Version is @var[scala.version].

results in:

The Scala Version is 2.12.19.

@@@vars

Allows to insert property values in verbatim blocks.

For example,

 @@@vars

 ```scala
 println("The project version is $version$")
 ```

 @@@

(added extra indentation to be able to show the example)

would render to:

println("The project version is 0.10.7")

Customize delimiters with @@@vars

You can customize the delimiters if $ already has a special meaning inside the verbatim block:

 @@@vars { start-delimiter="*&*" stop-delimiter="&*&" }

 ```scala
 println("The project version is *&*version&*&")
 ```

@@@

renders to:

println("The project version is 0.10.7")
The source code for this page can be found here.