SyntaxHighlighter 2.0

by Alex Meyer-Gleaves 20 February 2009 - 1:56 AM

I was pleased to find out that a new version of SyntaxHighlighter has been released. New features including smart line wrapping, 100% standards compliance, additional themes and hosted versions of the source files. The documentation on the new wiki is also very good. It is obvious that Alex Gorbatchev has put a lot of effort into this release and should be commended. Below is a little “hello world” sample highlighted using the new version:

using System;

namespace HelloWorld
{
    /// <summary>
    /// A "Hello World!" program in C#.
    /// </summary>
    class Hello 
    {
        /// <summary>
        /// The main entry point.
        /// </summary>
        static void Main() 
        {
            System.Console.WriteLine("Hello World!");
        }
    }
}

Tags:

BlogEngine.NET | Web Development

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

About the author

Alex Meyer-Gleaves I'm a Technical Architect living in Australia (that island like continent in the southern hemisphere). I love Microsoft .NET and C#. I hate early mornings, slow drivers and Lotus Notes.

Google Shared

 

Month List

Recent Posts

Recent Comments

Comment RSS

Links

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010