Execute Jinja script from Developer Tools

I use a number of jinja scripts to build yaml configuration files. Currently these are copied into the template editor on the developer tools and the output is copy/pasted into the relevant yaml config file.

It would be much neater to be able to execute a jinja script directly and optionally pipe the output to a file.