It is very useful to be able to control/override indentation in for loops and if blocks, without having to dedent the template code, making it less readable. This is especially important for languages that indentation is actually semantically meaningful, like markdown or python.
I understand Tera doesn't support jinja2 environment variables, but I wonder if it is possible to support options like lstrip_blocks using another Tera-blessed way/using existing syntax?
Code Example: https://ansiblemaster.wordpress.com/2016/07/29/jinja2-lstrip_blocks-to-manage-indentation/
It is very useful to be able to control/override indentation in
for
loops andif
blocks, without having to dedent the template code, making it less readable. This is especially important for languages that indentation is actually semantically meaningful, like markdown or python.I understand Tera doesn't support jinja2 environment variables, but I wonder if it is possible to support options like
lstrip_blocks
using another Tera-blessed way/using existing syntax?