Things I'd like to see eliminated.<br><br>1) Don't want blank line inserted after Doctype.<br>2) Don't want to credit Tidy as generator.<br>3) Don't want blank line inserted after closing head (</head>).<br>4) Don't want blank line inserted after html comment.
<br>5) Don't want blank line inserted after closing h1 and paragraph tag.<br>6) Why is it wrapping the CSS found before the closing head tag with:<br><br>/*<![CDATA[*/<br><br>/*]]>*/<br><br><br>I don't have a problem with the way it indents, just the above concerns.
<br><br>Besides not doing the stuff mentioned above, Dreamweaver's Source Formatting command:<br><br>1) Eliminates all blank line feeds.<br><br>2) Does not place content within <p></p> in a separate indented line. It keeps everything compact like so:
<br><br><p>My content here.</p><br><br>3) *Does* place the content within <div></div> on a separate line indented like so:<br><br><div><br> <p>Content here</p><br></div><br>
<br>Yep, maybe a GUI dialog would help but for the masses migrating from Dreamweaver, maybe providing a default Dreamweaver-like setting that addresses the above would suffice. What's crazy is that as great as BBEdit and other editors are, I know a lot of people that keep Dreamweaver around just for source formatting.
<br><br><br><div><span class="gmail_quote"></span>---------- Forwarded message ----------From: Jacob Rus <<a href="mailto:jrus@hcs.harvard.edu">jrus@hcs.harvard.edu</a>><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
To: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>Date: Wed, 08 Nov 2006 22:47:08 -0500<br>Subject: [TxMt] Re: Newbie Customization of Tidy<br>hcabbos wrote:<br>> Can anyone point me to instructions on how to modify HTML Tidy's formatting
<br>> of documents. There's a bunch of stuff that happens that I don't care<br>> for...stuff that running HTML Tidy in BBEdit doesn't do.<br><br>You'll have to clarify. What exactly happens that you don't like? How
<br>would you prefer the command to work? Which options from tidy (there<br>are several dozen, almost all of which seem pretty stupid to me :p) do<br>you want TextMate to expose to the user?<br><br>For more on creating TM commands, the TM manual has a pretty good
<br>explanation.<br><br>> I'd love Dreamweaver's method of formatting within TextMate--at least for HTML<br>> files. What's nice about BBEdit is that it allows you to point to Dreamweaver's<br>> SourceProfile.txt
file as a custom profile for source formatting.<br><br>You could certainly build this feature yourself. But if you want<br>someone else to help you out with that, you'll have to explain how it works.<br><br>* * *<br><br>
I think it would maybe be worthwhile to put some sort of GUI dialog in<br>front of a tidy command. But which options are needed? Keeping the<br>interface as super simple as possible also has many benefits (such as<br>keeping people from making unreadable unindented html ;).
<br><br><br><br><br><br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br><a href="http://lists.macromates.com/mailman/listinfo/textmate">
http://lists.macromates.com/mailman/listinfo/textmate</a><br><br></blockquote></div><br>