by Before Semicolon


variable tag details
name variable
type tag
attributes name, value
description A tag that will update context with current value and make it available for all tags after it under the same tag or file.


type: attribute : A valid variable name string.
type: attribute, executed : Anything that can be used as a variable value.

Inner content

Anything placed inside the tag will be bind and used as string.

Usage Examples

<variable name="title">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ea, error!</variable>
<variable name="total" value="$data.prices.reduce((acc, x) => acc + x, 0)"></variable>
<p>The total is {total}</p>>