[TxMt] Reformat HTML
Xavier Noria
fxn at hashref.com
Tue Apr 12 14:17:16 UTC 2005
On Apr 12, 2005, at 16:09, Michael Evans-Brown wrote:
> Is there anyway for TextMate to reformat HTML - in a similar fashion
> to Dreamweaver's "Apply Source Formatting" command, or Omniweb's
> "Reformat" command, so that you go from:
>
> <html>
> <head>
> <title>Empty Document</title>
> </head>
> <body>
> </body>
> </html>
>
> to:
>
> <html>
> <head>
> <title>
> Empty Document
> </title>
> </head>
> <body>
> </body>
> </html>
You can define a command that replaces the text filtered through Tidy
http://tidy.sourceforge.net/
-- fxn
More information about the textmate
mailing list