by Before Semicolon

<variable/>

variable tag details
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.

Attributes

name
type: attribute : A valid variable name string.
value
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>
<h2>{title}</h2>
<variable name="total" value="$data.prices.reduce((acc, x) => acc + x, 0)"></variable>
<p>The total is {total}</p>>