Home > Tools > Source code test

Source code test

I’m just testing the source code highlighting features in WordPress for future tutorials and I think it looks pretty cool! Full details of how to use this in your own blogs can be found here WordPress sourcecode highlighter. The only slightly annoying aspect is that the copy to clipboard button only seems to work in Microsoft iExplore for me. You can get around this by clicking the view plain and then copy pasting the selection when using Chrome or Firefox browsers. I find this slightly ironic as this WordPress plugin is based on a Google code project. 😉


unsigned short int a;
unsigned short int * b;

int main()
a = 3;
std::cout << "value held = " << a << "n"; std::cout << "stored at = " << &a; std::cin.get(); return 0; } [/sourcecode]

Categories: Tools Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: