Markdown to the Rescue

June 21, 2006

WordPress generates sloppy markup. Here’s how I fixed it.

I noticed after posting all that C code on my journal that WordPress was generating invalid XHTML. After struggling with the WordPress dashboard, I couldn’t fix the problem, so I installed a Michel Fortin’s Markdown plugin. Every works so much better now.

Originally created by John Gruber, Markdown is a really sweet markup language. For things like journal posts, its syntax much nicer than straight-up HTML, and much better than that goofy hybrid of HTML and plain text that most weblog engines seem to use.

I should have done this a long time ago.