I have a number of HTML files that contain snippets of HTML code (not full pages, so no body tags, etc). Unfortunately the HTML in those files is completely unindented.
I'd like to run tidy
to re-indent the file, but tidy
tries to do a lot of other things that I don't want it to do. The only modification I want made to the file in indent.
Is there any way to turn off all the other tidy behavior and just have it indent, or another tool (I'm on linux) that I could use to achieve this?