ActionScript 3.0 WordPress Plugin
Managing a blog about programming requires code snippets in the articles. I wanted a great plugin that would show ActionScript 3.0 (and other languages) with colored text, line numbering, and easy ‘copy text’ functionality.
The Syntax Highlighter plugin for WordPress does this well and is easy to add.
Example Code
{
//--------------------------------------
// Imports
//--------------------------------------
//--------------------------------------
// Class
//--------------------------------------
public class Sample
{
[Bindable]
protected var _sample : String;
public function Sample ()
{
_sample = "Hello World";
}
}
}
Output Code
package classes
{
//--------------------------------------
// Imports
//--------------------------------------
//--------------------------------------
// Class
//--------------------------------------
public class Sample
{
[Bindable]
protected var _sample : String;
public function Sample ()
{
_sample = "Hello World";
}
}
}











Leave a Reply
Want to join the discussion?Feel free to contribute!