Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Amberg committed Jan 26, 2024
1 parent d783a4d commit a0e3b83
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@ The syntax is case insensitive
| Syntax | Desciption |
|----------------|--------------------------|
| {{SomeVar}} | Simple Variable replacement
| {{someVar > 5}}...{{else}}...{{/}} | Conditional blocks
| {{/Items}}...{\{Items.Name}} ... {{/Items}} | Text block bound to collection items
| {?{someVar > 5}}...{{:}}...{{/}} | Conditional blocks
| {{/Items}}...{{Items.Name}} ... {{/Items}} | Text block bound to collection of complex items
| {{/Items}}...{{.Name}} ... {{/Items}} | Dot notation - implicit iterator
| {{/Items}}...{{.}:toUpper} ... {{/Items}} | A list of string all upper case
| {{/Items}}{{.}}{{:s:}},{{/Items}} | A list of string comma separated
| {{SomeString:ToUpper()}} | Variable with formatter to upper
| {{SomeDate:Format("MM/dd/yyyy")}} | Date variable with formatting
| {{SomeDate:F("MM/dd/yyyy")}} | Date variable with formatting - short syntax
Expand Down

0 comments on commit a0e3b83

Please sign in to comment.