Tool for tidying appearance of html code?

Discussion in 'Web Design and Development' started by stringtheorist, May 24, 2008.

  1. stringtheorist macrumors regular

    Joined:
    Apr 1, 2008
    #1
    I am looking for software which will reformat the appearance of my html documents so that they have a tidy layout (indents, etc.) when I edit them in Coda.
     
  2. reh macrumors 6502a

    Joined:
    Oct 24, 2003
    Location:
    Arkansas
    #2
    There's a command-line app called Tidy that I've used before. It seemed to do a decent job.
     
  3. stringtheorist thread starter macrumors regular

    Joined:
    Apr 1, 2008
    #3
    Yeah, I saw that one. Only, I would have to cut and paste. I would prefer to modify my documents directly.
     
  4. reh macrumors 6502a

    Joined:
    Oct 24, 2003
    Location:
    Arkansas
    #4
    There is also a Tidy Service that seems to work with Coda. I have no experience with it though.
     
  5. dtyson macrumors member

    Joined:
    Jan 20, 2008
    #5
    3D Panic Coda Tips & Tricks: http://www.upstartblogger.com/30-panic-coda-tips-and-tricks

    Read, particularly, #25, or just read here:

    25. Coda doesn’t have anything like HTML Tidy built-in, as skEdit does, but you can install Tidy Service to tidy your markup from the Services menu.

    That should do the trick if/until they integrate it into Coda proper.

    ***EDIT: reh beat me to it by 5 minutes. Sorry.
     
  6. stringtheorist thread starter macrumors regular

    Joined:
    Apr 1, 2008
    #6
    Thanks. I just tried this. It's an improvement but I wish I had more control... like being able to indent lines.
     

Share This Page