-
Notifications
You must be signed in to change notification settings - Fork 183
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
Feature request: add support for jinja2 Environment options #124
Comments
I'm thinking maybe something a bit more generic for setting any of these: https://github.com/mattrobenolt/jinja2-cli/blob/main/jinja2cli/cli.py#L264-L268 There's quite a lot of options here: https://jinja.palletsprojects.com/en/3.0.x/api/#jinja2.Environment And I think if we're going to get into configuring them, it might make sense to just allow you to set any of them more as key=value pairs. So something like:
Or something and this can cover all bases. Thoughts? |
Hi. I would go with For |
Reviving this issue as I'm interested in using jinja2-cli to render LaTeX templates, for which the default choices of delimiters are not very suitable. For ease of maintenance and invocation, I'd like to suggest adding an argument If the maintainer thinks this seems like a reasonable approach and the feature has a good chance of being merged, I can make the PR myself. |
Hi, it would be absolutely amazing to add the following options:
They would translate 1:1 to jinja2.Environment options.
Thanks!
The text was updated successfully, but these errors were encountered: