in reply to Tidy for Template Toolkit Files

There is no such thing, but if you wanted to write one, you would subclass Template::Parser/Template::Directive