Textile is a lovely little markup system for producing HTML, used in CMS's and the like. Mostly, it's a server-side conversion process…… javascript would do the job too.
http://www.ben-daglish.net/textile.shtml
http://www.ben-daglish.net/textile.shtml