 This plugin allows you to include code listing from external files into your content items,
with syntax highlighting and line numbers.
Please click the demo link to see a live example in action.
Key Features
* Highlight of keywords using PHP's built-in command
* Display of line numbers
* Auto-wrap of long lines
* Set the font, foreground and background color of the line numbers
* Customize the style and layout of the code listing with CSS!
Easy to use
Including a sample code is as simple as: {include_code_listing sample.php}
Power users
There are many settings that allow you to finetune the way the codes are displayed. You can also use css styles to change the formatting of the overall code display, such as the width, alignment, border, background color, etc. Please look at the documentation page for explanations and examples of these settings.
Newly updated (May 1, 2008):
More tips and techniques in using this plugin
* Change the font and font size of the line numbers
* Set the background color for the line numbers
* Change the font and style of the code display
* Suppress line numbers
* Specifying the indent for multi-lines
* Force wrap lines that exceed the wrap column
Report this listing
|