WTH I can't extend templating engine

I would like to define new jinja macros and filters to use in every template I need it.
It would save me a lot of code duplication