I love syntax highlighting.

It occurred to me that someone probably already solved the problem of WordPress’s crappy handling of pasted code in posts. I found WP-syntax which does just that, so I’ve been going through and wrapping code chunks in the proper tags. The “<code>” tag is a total waste, and when I tried pasting in a chunk of XML in a recent post, everything looked like crap. So here’s to syntax highlighting.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s