Code formatting

Finally got around to sorting out the css for code blocks. Looks fine for me (Firefox, Linux). Could someone let me know if it’s all buggered up on other platforms/browsers please?

A test:

#!/usr/bin/perl;
use strict;
use warnings;
print "Hello World\n";

Another test
[perl]
#!/usr/bin/perl;
use strict;
use warnings;
print ‘Hello World\n’;
[/perl]

Advertisements

One response to “Code formatting

  1. Looks fine on Firefox and Safari on OS X. First without syntax highlighting, second with, right?

    I haven’t typed up that email list yet, been off sick since I got back from holiday and it’s on my desk at work…

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