Enable with-tag extension in Jinja2 render.

Closes #3185.