.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH HTML-BEAUTIFY "1" "October 2022" "html-beautify 1.14.7" "User Commands" .SH NAME html-beautify \- beautify, unpack or deobfuscate HTML .SH DESCRIPTION html\-beautify.js@1.14.7 .SS "CLI Options:" .TP \fB\-f\fR, \fB\-\-file\fR Input file(s) (Pass '\-' for stdin) .TP \fB\-r\fR, \fB\-\-replace\fR Write output in\-place, replacing input .TP \fB\-o\fR, \fB\-\-outfile\fR Write output to file (default stdout) .TP \fB\-\-config\fR Path to config file .TP \fB\-\-type\fR [js|css|html] ["js"] .TP \fB\-q\fR, \fB\-\-quiet\fR Suppress logging to stdout .TP \fB\-h\fR, \fB\-\-help\fR Show this help .TP \fB\-v\fR, \fB\-\-version\fR Show the version .SS "Beautifier Options:" .TP \fB\-s\fR, \fB\-\-indent\-size\fR Indentation size [4] .TP \fB\-c\fR, \fB\-\-indent\-char\fR Indentation character [" "] .TP \fB\-t\fR, \fB\-\-indent\-with\-tabs\fR Indent with tabs, overrides \fB\-s\fR and \fB\-c\fR .TP \fB\-e\fR, \fB\-\-eol\fR Character(s) to use as line terminators. [first newline in file, otherwise "\en] .TP \fB\-n\fR, \fB\-\-end\-with\-newline\fR End output with newline .TP \fB\-\-indent\-empty\-lines\fR Keep indentation on empty lines .TP \fB\-\-templating\fR List of templating languages (auto,none,django,erb,handlebars,php,smarty) ["auto"] auto = none in JavaScript, all in html .TP \fB\-\-editorconfig\fR Use EditorConfig to set up the options .TP \fB\-b\fR, \fB\-\-brace\-style\fR [collapse|expand|end\-expand] ["collapse"] .TP \fB\-I\fR, \fB\-\-indent\-inner\-html\fR Indent body and head sections. Default is false. .TP \fB\-H\fR, \fB\-\-indent\-handlebars\fR Indent handlebars. Default is false. .TP \fB\-S\fR, \fB\-\-indent\-scripts\fR [keep|separate|normal] ["normal"] .TP \fB\-w\fR, \fB\-\-wrap\-line\-length\fR Wrap lines that exceed N characters [0] .TP \fB\-A\fR, \fB\-\-wrap\-attributes\fR Wrap html tag attributes to new lines [auto|force|force\-aligned|force\-expand\-multiline|aligned\-multiple|preserve|preserve\-aligned] ["auto"] .HP \fB\-i\fR, \fB\-\-wrap\-attributes\-indent\-size\fR Indent wrapped tags to after N characters [indent\-level] .TP \fB\-p\fR, \fB\-\-preserve\-newlines\fR Preserve line\-breaks (\fB\-\-no\-preserve\-newlines\fR disables) .TP \fB\-m\fR, \fB\-\-max\-preserve\-newlines\fR Number of line\-breaks to be preserved in one chunk [10] .TP \fB\-U\fR, \fB\-\-unformatted\fR List of tags (defaults to inline) that should not be reformatted .TP \fB\-T\fR, \fB\-\-content_unformatted\fR List of tags (defaults to pre) whose content should not be reformatted .TP \fB\-E\fR, \fB\-\-extra_liners\fR List of tags (defaults to [head,body,/html] that should have an extra newline .TP \fB\-\-unformatted_content_delimiter\fR Keep text content together between this string [""]