$begin{label}

${title}

some ${param} text

\ $end{label} $begin{literals}

a $$ dollar, a literal $${expr}, \ a % percent... { } ! \ etc.

$end{literals} $begin{unescaped}

an unescaped $ literal

$end{unescaped} $for{ j, thing in enumerate(things) }

${j%2} alternating thing ${thing}

$else

otherwise... $if{flag} FLAG $else DRAPEAU $fi !!

$rof $if{something or other}

conditional ${someexpr} stuff yes

$elif{ likes_blue }

blue!

$else

conditional $$ stuff % no ${yo}

$fi more text #[ some #[ nested ]# comment ]# output output #[ other comment ]# more text $test{ title="A Title", param="a for quoting", things=["Apples", 789, "Blue"], something=False, other=False, someexpr='abc', likes_blue=False, flag="Banana", yo="Johnny" } $test{ things=[] } $test{ something=True } $test{ something=False, other=True } $test{ other=False, likes_blue=True }