{"action":"created","issue":{"url":"https://api.github.com/repos/audreyr/cookiecutter/issues/704","repository_url":"https://api.github.com/repos/audreyr/cookiecutter","labels_url":"https://api.github.com/repos/audreyr/cookiecutter/issues/704/labels{/name}","comments_url":"https://api.github.com/repos/audreyr/cookiecutter/issues/704/comments","events_url":"https://api.github.com/repos/audreyr/cookiecutter/issues/704/events","html_url":"https://github.com/audreyr/cookiecutter/issues/704","id":155948283,"number":704,"title":"Jinja2 environment settings","user":{"login":"avanderm","id":6987385,"avatar_url":"https://avatars.githubusercontent.com/u/6987385?v=3","gravatar_id":"","url":"https://api.github.com/users/avanderm","html_url":"https://github.com/avanderm","followers_url":"https://api.github.com/users/avanderm/followers","following_url":"https://api.github.com/users/avanderm/following{/other_user}","gists_url":"https://api.github.com/users/avanderm/gists{/gist_id}","starred_url":"https://api.github.com/users/avanderm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avanderm/subscriptions","organizations_url":"https://api.github.com/users/avanderm/orgs","repos_url":"https://api.github.com/users/avanderm/repos","events_url":"https://api.github.com/users/avanderm/events{/privacy}","received_events_url":"https://api.github.com/users/avanderm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-20T12:04:42Z","updated_at":"2016-05-20T14:32:39Z","closed_at":null,"body":"Would it be possible to pass arguments to the underlying Jinja2 environment? I would like to activate the `lstrip_blocks` setting in the Jinja2 environment for more convenient whitespace trimming around code blocks. More about the Jinja API here: [Jinja2 API](http://jinja.pocoo.org/docs/dev/api/)"},"comment":{"url":"https://api.github.com/repos/audreyr/cookiecutter/issues/comments/220622143","html_url":"https://github.com/audreyr/cookiecutter/issues/704#issuecomment-220622143","issue_url":"https://api.github.com/repos/audreyr/cookiecutter/issues/704","id":220622143,"user":{"login":"avanderm","id":6987385,"avatar_url":"https://avatars.githubusercontent.com/u/6987385?v=3","gravatar_id":"","url":"https://api.github.com/users/avanderm","html_url":"https://github.com/avanderm","followers_url":"https://api.github.com/users/avanderm/followers","following_url":"https://api.github.com/users/avanderm/following{/other_user}","gists_url":"https://api.github.com/users/avanderm/gists{/gist_id}","starred_url":"https://api.github.com/users/avanderm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avanderm/subscriptions","organizations_url":"https://api.github.com/users/avanderm/orgs","repos_url":"https://api.github.com/users/avanderm/repos","events_url":"https://api.github.com/users/avanderm/events{/privacy}","received_events_url":"https://api.github.com/users/avanderm/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T14:32:39Z","updated_at":"2016-05-20T14:32:39Z","body":"Yes, that's what I use at the moment. I do wonder if there's way to pass arguments to the underlying Jinja2 environment in case of other desired behaviour. Also: fixed my link."}}
{"actor":{"display_login":"avanderm"}}