Mojo-PrettyTidy
view release on metacpan or search on metacpan
rendered output.
Paragraph-like text payload blocks should preserve their inline content,
including inline tags such as C<a>, C<b>, C<i>, and inline C<code>, unless a
specific structural rule applies.
The formatter avoids treating prose as a generic wrapping target. Editor or
terminal line wrapping is preferred for long prose until an explicit safe rule
is added.
=head1 EMBEDDED PERL FORMATTING
C<Mojo::PrettyTidy> uses C<perltidy> for Embedded Perl/code regions where
possible. If C<$HOME/.perltidyrc> exists, it is passed to C<perltidy>, so
your normal Perl indentation preferences are inherited.
PrettyTidy still overrides a small number of C<perltidy> settings where needed
for template formatting. In particular, it sets a very large line length
(C<-l=9999>) so C<perltidy> does not make wrapping decisions. Width-aware
template expansion is handled by PrettyTidy itself, for example through
C<--cols>.
( run in 1.975 second using v1.01-cache-2.11-cpan-0b58ddf2af1 )