Description and Characteristics
BBPress:Syntax Hiliter it’s a code highlighter designed for bbpress based on iG:Syntax Hiliter. plugin
BBPress:Syntax Hiliter used GeSHi as conversion engine.
BBPress:Syntax Hiliter has been reported to work using these programming code:
- ActionScript
- ASP
- C
- CPP
- CSS
- Delphi
- HTML
- Java
- Javascript
- Mysql
- Perl
- PHP
- Python
- Ruby
- SQL
- VB
- XML
Version.
0.1 Beta, First beta version
Installation:
As any other Bbpress plugin you have to:
- Download the file.
- Unzip it.
- Tune plugin parameters (see below)
- Upload it to your host server under bbpress-root-dir/my-plugins
- Enable this plugin from Administrator menu.
Configuration:
BBPress:Syntax Hiliter has a configuration file (syntax_hilite_config.php) were you can change different values like:
PLAIN_TEXT : Disable/Enable “Plain text” option which will show code as unformatted text.
SHOW_LANG_NAME : Show lenguage name inside the code box
LINE_NUMBERS : Allows you the show line number as most code editors do.
FANCY_NUMBERS : Will let you change code number colours, only if option LINE_NUMBERS is enabled.
LINE_COLOUR_1 : This colour will be applied first to code lines numbers if option FANCY_NUMBERS is enabled.
LINE_COLOUR_2 : This colours will also be applied to code line numbers when FANCY_NUMBERS is enabled.
CSS
BBPress:Syntax Hiliter has a CSS file ( css/syntax_hilite_css.css ) were you can change the code’s text box.
Usage:
Once enabled and setup you can start writing post with code inside as follows:
[language]
Codigo
[/language]
Ejemplo:
[ as]
trace(“Hi there”)
[ /as]
Plugin will do the rest
Download
Files
| Download: | bbpress_syntax_hilite0.1.zip |
|---|---|
| Version: | 0.1 |
| Updated: | February 1, 2008 |
| Size: | 98.93 KB |
Comments
Please leave your comments in the URL http://klr20mg.com/2008/02/01/syntax-highlighter-plugin-for-bbpress-forums/




