Blog update, now with more syntax highlighting

Thursday, Apr 23, 2009 1 minute read Tags:
Hey, thanks for the interest in this post, but just letting you know that it is over 3 years old, so the content in here may not be accurate.

I finally go around putting a proper syntax highlights on my blog, to fix up that I was previously hand-doing the UI for any code that I was putting into my blog.

I've gone with the JavaScript tool Syntax Highlighter. It's really neat and very simple to add into a site and use.

I've chosen the dark theme, to keep it closer to my actual Visual Studio theme (see this post as to why I use a black VS theme).

<script type="text/javascript">
alert("Hey, JavaScript highlighting!");
</script>
public void Alert() {
    Console.WriteLine("And C# as well!");
}

The next thought is that I really should look into Windows LiveWriter to make posting even easier.