Syntax highlighting in

I spent the last half hour searching for a solution for this and it turned out to be very easy. You just put your code in sourcecode tag.

For example C# code highlighting:

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
 class Program
 static void Main(string[] args)

Apparently this sourcecode highlight feature works for a variety of languages, so you can use it with any of the following:
actionscript3, bash, coldfusion, cpp, csharp, css, delphi, erlang, fsharp, diff, groovy, html, javascript, java, javafx, matlab (keywords only), objc, perl, php, text, powershell, python, r, ruby, scala, sql, vb, xml


One response to “Syntax highlighting in”

  1. materace says :

    Bardzo ciekawe informacje pozdrawiam 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your 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: