-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shorthand for filter
tag
#244
Comments
Where do you usually use these indents? Around I only use them around |
@yonaskolb I'm not using includes in this particular template as it is relatively short (it generates implementations for test cases) and use it to indent sections of generated code with several levels of indentations so there are quite a few indent filters. For include node we can add support for applying filter to its content so that it will be similar to what filter node does. Like this:
It's unfortunate that we don't separate context variable and template name with any keyword, like
instead of what we can have now:
But let's discuss that in another issue? |
For |
I found myself using
filter indent
quite often in one of the templates and it would be nice to be able to useinstead of
This will not just make it shorter but will provide more context in the closing tag.
The text was updated successfully, but these errors were encountered: