Padre::Plugin::Autoformat allows to reformat text within Padre using Text::Autoformat underneath.