diff options
Diffstat (limited to '')
| -rw-r--r-- | book/src/template_syntax.md | 11 | 
1 files changed, 10 insertions, 1 deletions
diff --git a/book/src/template_syntax.md b/book/src/template_syntax.md index befde8f..c3635eb 100644 --- a/book/src/template_syntax.md +++ b/book/src/template_syntax.md @@ -330,10 +330,19 @@ using a vector of templates in a for block.  Askama supports block comments delimited by `{#` and `#}`. -``` +```jinja  {# A Comment #}  ``` +Like Rust, Askama also supports nested block comments. + +```jinja +{# +A Comment +{# A nested comment #} +#} +``` +  ## Recursive Structures  Recursive implementations should preferably use a custom iterator and  | 
