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>
Mike
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
-- fxn