Skip to content
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

Added support for overriding start and end strings #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robisaac
Copy link

The code is backward compatible because the opts are optional, so it's not a breaking change.

@mattrobenolt
Copy link
Owner

Might I suggest an API something like:

$ jinja2 --env-opt variable_end_string=#} --env-opt variable_start_string={#

This way we don't need a flag for every single option and just directly pass those through?

@rob-spoor
Copy link

I've created a pull request for the change you suggested: #80. It supports boolean, int and string options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants