on-internet
← Community

Command line html formatter that works on linux (or a way to do this in PHP)?

Stack Overflow ·

Does anyone know of a linux-compatible command line html formatter? You know, something where I could pass it a file that looks like: <html> <body> <p> hi </p> </body> </html> And it gives me: <html> <body> <p> hi </p> </body> </html> I'm using PHP to generate this html, so if there is some handy way to do this via php that I'm missing?

Comments

Sign in or sign up to comment and upvote.

No comments yet.