NOTICE:
This content is in the "archives" of a retired blog called Gadgetopia. It has been moved to this subdomain as it is no longer considered relevant to the site. It is being hosted here for a indeterminate period of time. Its existence at this URL is not guaranteed, and it may be removed at any time. If you would like to refer to this content in the future, you are encouraged to save it to your local file system.

Some content from Gadgetopia was moved to the technical blog on deanebarker.net

Textile Formatting

Originally published by "dbarker" on 2003-02-26 07:04:00Z

One of the perennial problems with Web-based content management is that people don’t want to code HTML for their formatting. They don’t want to surround italic text with the right tags, form IMG tags, write link tags, etc.

So there are several WYSIWYG options – ActiveX components like Ektron, and I remember a DHTML version from a Vietnamese programming group – that you can use instead of a TEXTAREA tag.

Well, here’s a handy system that at first glance looks like kludge but is actually extremely elegant and usable. Textile Formatting is a method of embedding codes in your text to create formatting. Yes, I know, HTML does this too. But these codes are shorter and easier to use. Surround text with asterisks, and it comes out bold. Surround it with underscores and it comes out in italics. Do this…

=="I like James Bond”:http://www.ianfleming.org==

…and it renders like this…

I like James Bond

You never have to take your fingers off the keys (like you would with a WYSIWYG editor – you know, buttons and all), and once you get used to it you can just fly. Besides, there’s a plugin for MT. I couldn’t be happier with it.

Comment by "Rob" on 2003-02-26 10:18:00Z
Check out www.textpattern.com it's a new CMS developed by the guy who originally wrote Textile. It looks promising. I wonder if he knows the name 'Trevor' is available.
Comment by "Alex" on 2004-10-15 16:16:00Z
Your Textile plug-in seems to be broken. The formatting isn't rendering correctly in the article. I realize this is an older entry. So maybe it's obsolete. But I came here via Google searching for "Textile formatting" . So you might want to note it here if you've moved on from Textile. Cheers!