phil wilson :: a geek commodity

9:49 AM

permanent link to post Mark me up, Scotty 

Tuesday, April 13, 2004

Simon writes about the legion of non-HTML text markup languages and introduces his own (we have enough. please stop now. Maybe writing your own markup language is the new “writing your own wiki“, which was the new “writing your own aggregator” ?)

Anyway, he points out that anyone entering italic*italic-boldbold* into most engines and that includes Markdown, Textile and [his] home-rolled Python solution… will output vadly (sic) formed XHTML.

I’m glad to be able to say that JTextile gets it right, producing:

<p><em>italic*italic-bold</em>bold*</p>

It still doesn't do normal line-breaks, but hey, nothing's perfect. ;)

G fixed the linebreak problem at long last. Stupid StringTokenizer :)