Syntax Highlighter for WordPress
April 24, 2010 – 4:08 pmI was able to implement Syntax Highlighter for WordPress plugin that is available. Here is the output of the test syntax highlighting code:
ColdFusion
<cfset myTestVar = "teseting" />
Sample of Java code highlighting:
package com.android.helloandroid;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class HelloAndroid extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView tv = new TextView(this);
tv.setText("Hello, Android");
setContentView(tv);
}
}
It works out pretty well…