Bienvenido a Klr20mg

Cronicas de un desarrollador

Actualmente soy Jefe de Desarrollo del area Flash en Sapotek de México en la cual trabajo desde hace mas de 4 años. Desarrollando aplicaciones en Flash para Web mas comúnmente llamadas (RIAs)

Estas en : Blog » BBpress Syntax Highlighter [English]
  • Decrease font size
  • Default font size
  • Increase font size
  • color default
  • color verde
  • color azul
BBpress Syntax Highlighter [English]
February 1st, 2008

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

Download: bbpress_syntax_hilite0.1.zip
Version: 0.1
Updated: February 01 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/

 

 Blog editado por:

Enrique Chavez aka Tmeister
Si los codigos de este sitio te han ayudado y gustas ayudar de alguna forma:

 Compra Links

 Suscribete


AddThis Social Bookmark Button

 Archivo

2008
2007
2006
2005
2004