author | Michael Krelin <hacker@klever.net> | 2011-08-26 21:22:00 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2011-08-26 21:22:00 (UTC) |
commit | 1d00b262ddf0d6c3207a4b796d48899ed79bffcd (patch) (unidiff) | |
tree | 03d745873ba13ffb0e2fe1831ecb41f7c0b05758 /README | |
download | cliche-0.0.zip cliche-0.0.tar.gz cliche-0.0.tar.bz2 |
initial commit into the public repository0.0
Signed-off-by: Michael Krelin <hacker@klever.net>
-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> | ||