Make HTML5 code look beautiful!
- by blinry
I'm looking for a command line program that pretty-prints (that is, indents, adds line breaks to, harmonizes the whitespace of) HTML5 code.
It has to run under Linux (in case you're interested, I want to use it as an filter for nanoc).
tidy does too much for me (heck, it alters my doctype!), vim too little. What do you use to make your HTML5 code look beautiful?
Maybe there is a way to make tidy cooperate and not alter anything?