tera 2.0.0-alpha.4

A template engine for Rust based on Jinja2/Django
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
source: tera/src/snapshot_tests/compiler.rs
expression: s
input_file: tera/src/snapshot_tests/compiler_inputs/blocks/nested.txt
---
=== nested.txt ===
0000 RenderBlock("hello")


>> Block: hello
=== nested.txt ===
0000 WriteText("body")
0001 RenderBlock("inside_hello")
---
>> Block: inside_hello
=== nested.txt ===
0000 WriteText("more")
---