Make HTML5 code look beautiful!
Posted
by blinry
on Stack Overflow
See other posts from Stack Overflow
or by blinry
Published on 2010-04-17T07:41:50Z
Indexed on
2010/04/20
9:53 UTC
Read the original article
Hit count: 444
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?
© Stack Overflow or respective owner