Quick tip for using TextMate with Confluence

If you like using TextMate for all your code editing needs, and are using the Confluence wiki platform, and you have TextMate set to work as an external editor in Cocoa apps (such as Safari), then this little bit of know-how may come in handy:

Confluence wiki markup looks suspiciously like Textile. In fact, yes, it is officially based on Textile markup. So if you are editing wiki markup in TextMate, set the language of the document to Textile and you’ll get all the nice color coding and formatting tools.

Best of all, the Function pop-up menu will find all your headings (h2., h3., etc.) and organize them into an indented menu for you, making long documents much easier to navigate.

In defense of the vendor prefix

PPK has written a thoughtful post titled CSS vendor prefixes considered harmful, and in it he outlines the case of why browser vendors should cease use of the vendor prefix condition.

I sympathize with the case, but the very opening example we have a problem: border-radius. When varying corner values are involved, vendor implementation consistency breaks down:

-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 30px;
-webkit-border-bottom-right-radius: 40px;
-webkit-border-bottom-left-radius: 20px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 30px;
-moz-border-radius-bottomright: 40px;
-moz-border-radius-bottomleft: 20px;
border-top-left-radius: 10px;
border-top-right-radius: 30px;
border-bottom-right-radius: 40px;
border-bottom-left-radius: 20px;

I’d say vendor prefixes are an unfortunate but necessary construct until things are a bit more solidified – at the very least between browser vendors, and ultimately as written in a W3C recommendation.

What I think is important though is that developers do include the expected latest draft code of CSS3 at the end of their declaration blocks. Shipping code, both from the vendor perspective as well as the web developer perspective speaks volumes. If IE is going to drop vendor prefixes and is going with the latest draft examples, then good on ’em.