Since: Concordion 2.0.0
The set command is expressed using the syntax: [value](- "#varname")
or [value](- '#varname')
which sets the variable named varname
to the value value
.
You can also use the long-hand [value](- "c:set=#varname")
variant if you wish. (Note that, unlike HTML, the #varname
value is not enclosed in additional quotes.)
Markdown | Resultant HTML |
---|---|
[1](- "#x") | <span concordion:set="#x">1</span> |
[Bob Smith](- '#name') | <span concordion:set="#name">Bob Smith</span> |
[Jane Doe](- "c:set=#name") | <span concordion:set="#name">Jane Doe</span> |