- commit
- 0df86877fe7277396b51bc012fef695a4d973bef
- parent
- ab06c20057c085d4e4974821ab6044f0b0458e28
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2021-07-06 10:26
fixup readme
Diffstat
| M | README.md | 4 | ++-- |
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
@@ -2,7 +2,7 @@ Yet another [mustache](http://mustache.github.io/mustache.5.html) implementation 2 2 3 3 # Usage 4 45 -1 ```-1 5 ```python 6 6 import stache 7 7 from html import escape 8 8 @@ -33,7 +33,7 @@ output = stache.render(template, {'foo': True, 'bar': 'Hello world!'}, lambda x: 33 33 ``` 34 34 - `.` to access the current context object: `{{.}}` 35 35 - missing variables are treated as empty strings/falsy36 -1 - context inheritance: you access variables from the outer contexts (unless they are shadowed)-1 36 - context inheritance: you can access variables from the outer contexts (unless they are shadowed) 37 37 - lines with standalone template tags are removed from the output 38 38 39 39 # Not supported