[!-- Syntax Test --] [dart] library syntax; import "dart:io"; import "package:stream/stream.dart"; [/dart] [page contentType="[=foo.contentType]" args="foo, bool c:false"/] [header age="129" accept-ranges="[=foo.acceptRanges]" ] [= "$foo.name [${foo.title}]" ]

This is a test with """.

Another expresion: [= foo.description]

An empty expression: [= ]

This is not a tag: [foo ], [another and [/none].

[for fruit in ["apple", "orange"]] [/for] [if foo.isCustomer] *Custmer* [else if c] [forward "/x/y/z"/] [else if foo.isEmployee] *Employee* [forward syntax c="[=true]" foo="abc"/] [else] *Unknown* \[/if] [!-- escape a [/if] --] [/if] [var whatever] define a variable [for fruit in ["apple", "orange"]] [=fruit] [/for] [/var] [include "/abc"/] [include syntax c="[=true]"] [var foo] The content for foo [/var] [/include] [if foo.isMeaningful] something is meaningful [/if] [!----] [dart/] [!---] -] --]