mirror of
https://github.com/pantor/inja.git
synced 2026-04-03 06:38:52 +00:00
Merge branch 'master' into patch-2
This commit is contained in:
@@ -89,10 +89,10 @@ env.set_element_notation(ElementNotation::Pointer); // (default) e.g. time/start
|
||||
env.set_element_notation(ElementNotation::Dot); // e.g. time.start
|
||||
|
||||
// With other opening and closing strings (here the defaults, as regex)
|
||||
env.set_expression("\\{\\{", "\\}\\}"); // Variables {{ }}
|
||||
env.set_expression("\\{\\{", "\\}\\}"); // Expressions {{ }}
|
||||
env.set_comment("\\{#", "#\\}"); // Comments {# #}
|
||||
env.set_statement("\\{\\%", "\\%\\}"); // Statements {% %} for many things, see below
|
||||
env.set_line_statements("##"); // Line statement ## (just an opener)
|
||||
env.set_line_statement("##"); // Line statement ## (just an opener)
|
||||
```
|
||||
|
||||
### Variables
|
||||
|
||||
Reference in New Issue
Block a user