For ColorCode updates, follow @anglicangeek. 

Project Description
ColorCode is a library for colorizing source code (also known as syntax highlighting).

Language Support
ColorCode supports the following languages:

  • XML
  • Java
  • JavaScript
  • SQL
  • C#
  • VB.NET
  • ASPX (C#)
  • ASPX (VB.NET)
  • C++
  • PHP
  • PowerShell


Code Sample

using ColorCode;

string sourceCode = File.ReadAllText(@"/path/to/source/file");

string colorizedSourceCode = new CodeColorizer().Colorize(sourceCode, Languages.CSharp);


Who's Using ColorCode?

  • codeplex.com
  • Microsoft Forums sites

Last edited May 2, 2012 at 5:09 AM by AnglicanGeek, version 16