Is it possible to use HTML Tidy to just indent HTML code?
Sample Code
To answer the poster's original question, using Tidy to just indent HTML code, here's what I use:
tidy --indent auto --quiet yes --show-body-only auto --show-errors 0 --wrap 0 input.html
input.html
Output:
No extra HTML code added. Errors are suppressed. To find out what each option does, it's best to refer to the official reference.