March 19, 2004 07:24 PM Preprocessors for Weblogs.

Those of you who enjoy writing on the web, but are less then impressed with the way MT converts your writing into HTML, may want to look at the following two programs: Textile and Markdown.

Textile has been around for a while, and is basically a shorthand for HTML. Instead of using the tag <em> to emphasizes some piece of text, you simple mark your text with underscores, like so: _emphasis_. There is similar notation for most of the important html tags you would want to use. Also, textile will automatically encode entities (like &), will convert -- to ’—’, and make your quotes curly. There is a moveable type plugin to let you use textile to format your text instead of using moveable type's lame ‘convert line breaks’ function.

Markdown has all the features of textile as far as I can tell, but the design ideas behind it are slightly different. You can read in-depth the reasoning for the syntax markdown uses here.

I don't use either program at the moment. Most of what I write is short, and not filled with lots of HTML. However, if you find you put a lot of HTML in your posts, then these programs definitely will make the code for the posts much easier to read.

Comments on Preprocessors for Weblogs.
Don't copy me without asking.     moveable type     1and1     XHTML     XFN     CSS.     ramanan at funkaoshi dot com.