-rw-r--r-- | README | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ | |||
1 | Constructs: | ||
2 | |||
3 | code embedded in output: | ||
4 | <%code> ++i; </%code> | ||
5 | % ++i; | ||
6 | |||
7 | output embedded in code: | ||
8 | int i=0; | ||
9 | <%output>whoa, it's <% i++ %>!</%output> | ||
10 | |||
11 | embed literal in the code: | ||
12 | #define URL "http://www.klever.net/" | ||
13 | <%literal> | ||
14 | a text that is going to be there is a string | ||
15 | with some possibilities <% URL %> | ||
16 | </%literal> | ||