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.8.

@@@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.6.6")

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.6.6")
The source code for this page can be found here.