Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

indenter / prettyprinter / beautifier / perltidy for mojolicio.us Mojo::Template

by Anonymous Monk
on Jun 24, 2013 at 04:36 UTC ( #1040354=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Is there a indenter / prettyprinter / beautifier / perltidy for mojolicio.us Mojo::Template?

  • Comment on indenter / prettyprinter / beautifier / perltidy for mojolicio.us Mojo::Template

Replies are listed 'Best First'.
Re: indenter / prettyprinter / beautifier / perltidy for mojolicio.us Mojo::Template
by Anonymous Monk on Jun 25, 2013 at 01:38 UTC

    Here is a start , had to go source diving a bit for this

    Here is what the template looked like before

    and here is what the template looks after mojo.template.array.autoindex.sortable.pl

    only layouts/green.html.ep got some hand editing

    The html dent/depth level is not synchronized with the %# Mojo::Template level, but I'm fine with that

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1040354]
Approved by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2021-08-01 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (6 votes). Check out past polls.

    Notices?