<h2>Comments</h2>
<pre><code>{* This is a comment with &lt;p>some markup&lt;/p> in it *}
{* Multi-line
comment *}</code></pre>

<h2>Variables</h2>
<pre><code>{$foo}
{$foo.bar}
{$foo.$bar}
{$foo[$bar]}
{$foo->bar}
{$foo->bar()}
{#foo#}
{$smarty.config.foo}
{$foo[bar]}
</code></pre>

<h2>Strings and numbers</h2>
<pre><code>{$foo[4]}
{$foo['bar']}</code></pre>

<h2>Tags and filters</h2>
<pre><code>{assign var=foo value='baa'}
{include file='header.tpl'}
{$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'}
{$title|tru