Closed dceluis closed 2 months ago
Minijinja allows enabling lstrip_blocks and trim_blocks, which allows templates to be written naturally, with each block on its own line.
For reference: https://jinja.palletsprojects.com/en/3.0.x/templates/#whitespace-control
If needed, I can rewrite the templates without the {%- -%} and the blocks on a new line. Or you can just leave this on and progressively update them at your convenience.
Cheers and thanks for a great plugin.
i can't believe my eyes 🥹
it's probably going to be very tedious so I'll just go in and fix them at some point, thanks a ton for sharing
Minijinja allows enabling lstrip_blocks and trim_blocks, which allows templates to be written naturally, with each block on its own line.
For reference: https://jinja.palletsprojects.com/en/3.0.x/templates/#whitespace-control
If needed, I can rewrite the templates without the {%- -%} and the blocks on a new line. Or you can just leave this on and progressively update them at your convenience.
Cheers and thanks for a great plugin.