The Lumber Room

"Consign them to dust and damp by way of preserving them"

WordPress themes that play nice with code

with 4 comments

I exhaustively searched all WordPress.com themes to find those that properly handle long text within “pre” tags. These are the ones that work:
Blix
Cutline
Fauna
Freshy
Hemingway

Unfortunately all of them are too narrow, so it’s back to Rubric for now.

All it takes is a simple “pre { overflow: auto; }” in the CSS of the theme. Why can’t the theme makers do this?!

Note: WordPress has other ways of posting source code: see Posting Source Code and announcement. I must have missed them when I wrote this post. If you use the sourcecode tag, the code is wrapped to fit the screen, but readers can click a button and get the original code.

And just for completeness, and because I spent so much damn effort going through them all, here are the ones that fail:
Almost Spring
Ambiru
Andreas04
Andreas09
Banana Smoothie
Benevolence
Black-LetterHead
ChaosTheory
ChaoticSoul
Connections
Contempt
Day Dream
Digg 3 Column
Dusk
Emire
Fadtastic
Fjords04
Fleur De Lys
Flower Power
Fresh Bananas
Garland
Girl in Green
Greenery
Green Marinée
Iceburgg
Jentri
K2-lite
Kubrick
Light
MistyLook
Neat!
Neo-Sapien
Ocadia
Ocean Mist
Pool
PressRow
Quentin
Redoable Lite (multilines!)
Regulus
Rounded
Rubric
Sandbox
Sandbox-10
Sapphire
Shocking Blue Green
Silver is the New Black
Simpla
Solipsus
Sunburn
Supposedly Clean
Sweet Blossoms
Tarski
The Journalist
Thirteen
Toni
Treba
Twenty-eight Thirteen
Unsleepable
Vermilion Christmas
White as Milk
WordPress Classic

About these ads

Written by S

Mon, 2008-01-07 at 23:28:02 +05:30

4 Responses

Subscribe to comments with RSS.

  1. Hi,

    Thanks for sharing. Just what I was looking for. Need themes that support nice display of source code. If they are too narrow, one can edit CSS to extend! Will spend some time doing it in school vacation :-)

    SimpleIT.

    SimpleIT

    Mon, 2008-03-24 at 07:36:23 +05:30

  2. The problem is that WordPress.com doesn’t allow one to edit CSS without a paid account; so one is stuck with the default attributes of the default themes.

    S

    Tue, 2008-03-25 at 01:30:30 +05:30

  3. Thank you a lot for sharing this.

    It is a pity that they do not allow us to easily publish code :(

    keymon

    Mon, 2010-05-31 at 05:34:58 +05:30


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

Follow

Get every new post delivered to your Inbox.

Join 72 other followers