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

Add support for custom filters #3

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

wolfbo
Copy link
Contributor

@wolfbo wolfbo commented Feb 22, 2018

Hi, I saw your TODO and thought it would be a nice kata.

Wolfgang Wangerin added 3 commits February 22, 2018 11:13
"""
Do 22. Feb 14:46:02 CET 2018 wolfgang@nb-wwangerin:~/Code/jinja2-render
$ export foo="fooo"

Do 22. Feb 14:46:18 CET 2018 wolfgang@nb-wwangerin:~/Code/jinja2-render
$ export bar='baar'

Do 22. Feb 14:46:22 CET 2018 wolfgang@nb-wwangerin:~/Code/jinja2-render
$ ./j2render.py --env --filters=examples/customfilter.py
examples/customfilter.j2
This is a template that renders the value of two context variables,
`foo' and `bar', but runs custom filters on it :

* foo: testfooo
* bar: baartest

"""
@wolfbo
Copy link
Contributor Author

wolfbo commented Apr 24, 2018

poke

@wolfbo
Copy link
Contributor Author

wolfbo commented Mar 24, 2020

It seems to me the owner does not read his guthub, ever. If you want to use this feature, use my fork.

Wolfgang Wangerin and others added 3 commits February 11, 2021 13:54
current python delivers str already
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.

2 participants