s:tag

Create a new tag.

INPUT
<s:tag name="hi">
    Hello World!
</s:tag>
<hi />
OUTPUT
Hello World!

Using @content

INPUT
<s:tag name="hi">
    Hello {{ @content }}!
</s:tag>
<hi>
    friend
</hi>
OUTPUT
Hello friend!

Using attributes

INPUT
<s:tag name="hi">
    Hello {{ @to }}!
</s:tag>
<hi to="Sed" />
OUTPUT
Hello Sed!
NOTE: <tag> creates a new scope (all variables that start with @ are local to <tag>.
☼ ☼ ☼ anotomy ☼ ☼ ☼
name=""  
Required

Specifies the tag name.

@content

The content of the created tag once it is used (not when it's created). In the following example the @content is SunSed.

EXAMPLE
<hi>
    SunSed
</hi>
@...

Any attribute, you set when you use the tag. In the following examples we have @first name and @last name.

EXAMPLE
<hi first-name="Dwight" last-name="Schrute" />