Syntax Highlighting

by

A quick commenter (our first!) posted a link to a great tip about syntax highlighting, instead of using just preformatted text, for code. At that page, scroll to the bottom, to the section on “Posting Source Code”.

Here’s an example (I hope):


print "Hello, World!"

Looks awesome! And even gives us line numbers to refer to. Now, let’s hope Project Euler doesn’t get upset with us, as our commenter suggests they might.

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: