The higher-level API (nunjucks.configure, etc) internally uses its own
Environment object, so you don't have to create your own. There might
be a way to clarify this in the examples deeper down in the docs. Just
don't create your own Env, and use the one returned by `configure`:
var env = nunjucks.configure('views', { ... });
env.addFilter('foo', function() {});
> --
> You received this message because you are subscribed to the Google Groups
> "Nunjucks" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
nunjucks+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.