When using WordPress to publish code we take advantage of the functionality of a generic Syntax Highlighter created by GeSHi. To use this in WordPress you’ll need a plugin called WP-Syntax.
Example:
1 2 3 4 5 6 7 8 | static void FO_HelloWorld(Args _args) { str HelloWorld = "Hello World!"; ; print HelloWorld; pause; } |
My advice to anyone that thinks about installing this plugin is to read about it and it’s functionality. The link to the plugin contains good information that descibes how to edit the look of the code display using CSS.