The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

liquid_tidy - Indent Liquid template documents

SYNOPSIS

liquid_tidy [-html] [-indent=4] [-noforce_nl] [-short_if=8] [-force_nl_tags="for if ..."] [<file>]

OPTIONS

-help

Print this message.

-html, -nohtml

Indent HTML code

-indent

The number of spaces for each indentation level

-force_nl, -noforce_nl

Whether to forcibly add line breaks into tags listed as force_nl_tags

-short_if

The length of a text inbetween {% if %} that should be exempt from force_nl

-force_nl_tags

A space separated list of tags where -force_nl will add line breaks.

Default tags: for endfor comment endcomment if unless elsif else endif endunless case when endcase

DESCRIPTION

This program will read the given input file and output the nicely indented Liquid template to standard output.

SEE ALSO

Template::Liquid