Loading ...
Sorry, an error occurred while loading the content.

Reformating HTML

Expand Messages
  • jige@altern.org
    Hi there, Is there somewhere a vim script that will reformat HTML code, adding line breaks, indenting code,... and of course that would be customizable ?
    Message 1 of 2 , Mar 1, 2002
    • 0 Attachment
      Hi there,

      Is there somewhere a vim script that will reformat HTML code, adding line breaks, indenting code,... and of course that would be customizable ?
      Thanks in advance.

      Cheers /jerome
    • Benji Fisher
      ... Use tidy. A quick search on Google (tidy HTML) gives http://www.w3.org/People/Raggett/tidy/ HTH --Benji Fisher
      Message 2 of 2 , Mar 1, 2002
      • 0 Attachment
        jige@... wrote:
        >
        > Hi there,
        >
        > Is there somewhere a vim script that will reformat HTML code, adding line breaks, indenting code,... and of course that would be customizable ?
        > Thanks in advance.
        >
        > Cheers /jerome

        Use tidy. A quick search on Google (tidy HTML) gives
        http://www.w3.org/People/Raggett/tidy/

        HTH --Benji Fisher
      Your message has been successfully submitted and would be delivered to recipients shortly.