A new highlight

I was just browsing the web, searching for some nice WordPress plugins. During the installation of the Simple Multilanguage Plugin which allows you to change the language of a post (only if I wrote it in several languages, of course), I found another interesting plugin on their website, called ig:Syntax Hiliter. This plugin allows you to put source-code on your website with some.. yeah, who would have thought: syntax highlighting. I just put up the following two examples, showing the highlighting of Java and C#.

package sexy.girl.kodde;
import Sytem.IO.*;

public class TestClass {
	int timeSet;

	/**
	 * This is the main function
	 * 
	 * It writes text to the console, 
	 * if there are any arguments.
	 **/
	public static void main(String[] args) {
		// write to the console
		if(args.length  > 0 ) {
			System.out.writeline("args: " + args[0]);
		} else {
			System.out.writeline("no args!");
		}
	}
}
using System.IO;
namespace sexy.girl.kodde;
{
	public class TestClass 
	{
		int timeSet;

		///<summary>
		/// This is the main function
		/// 
		/// It writes text to the console, 
		/// if there are any arguments.
		///</summary>
		public static void main(String[] args) 
		{
			// write to the console
			if(args.length  > 0 ) 
			{
				System.Console.WriteLine("args: " + args[0]);
			} 
			else 
			{
				System.Console.WriteLine("no args!");
			}
		}
	}
}

If you click the name of the language (with the small window icon) in the header, you’ll get the source-code without highlighting.

Moreover, you can now see all WordPress plugins I have installed, by visiting the Plugins page. The listing of that page is generated by the Plugins Used Plugin via PHP code, which is executed by the Exec-PHP Plugin.

4 Kommentare zu „A new highlight

Kommentar verfassen

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.