Chris Dutrow
Chris Dutrow

Reputation: 50362

View nicely formatted version of HTML source

I need to edit this HTML page and re-upload it.

The problem is that somehow all of the newlines have been eliminated from it so that its just one long line. I'm using Notepad++ now, although I don't have to be.

What is a good way to view and edit this HTML/PHP/Javascript source in a way that a reasonable human being can read it?

Thanks! enter image description here

Upvotes: 0

Views: 248

Answers (1)

Harrison
Harrison

Reputation: 9090

You can tidy this up (as @AR suggested) with notepad++. Go into Notepad++, go to the plugin manager and select textFX and install that.

among other things, it will install a new menu item in the toolbar called "textFX" select it, then select Text Fx HTML Tidy. This will give you a selection of formatting objects and ought to pretty it up for you.

once again:

TextFx >> TextFx HTML Tidy

Upvotes: 1

Related Questions