Prev |  | Next

#### 1.4.4.2. In line comments

Function

  Sometimes, it's useful to explain what you are doing when writing complicated templating code. In that case you can use comments to document what you are doing. You can also use comments to add general info to the template (like in the example below).

Syntax

  `{! <COMMENT TEXT>}`

  The `<COMMENT TEXT>` can contain any characters you like, except for "}".

Example code

  Example 1.14. Add in line comments

      {! This template was created by John Doe and his lovely wife Jane }

Prev | Up | Next
| Home |