Blog update, now with more syntax highlighting

23 April 2009 ยท 1 minute read

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.


Published: 2017-10-23 09:53:42 +1100 +1100, Version: 4113ab4