Page 1 of 1
PHP code Highlighter
Posted: Thu Jan 05, 2006 11:03 am
by Guest
hi guys
I am looking for a PHP code Highlighter. Does it exist

Re: PHP code Highlighter
Posted: Thu Jan 05, 2006 1:45 pm
by Guest
Yeah,you can use the GeSHI markup plugin from our spartacus event plugin repository
Regards,
Garvin
Posted: Sat Jan 07, 2006 11:41 am
by carp3
thanks
but it has problem with WYSIWYG editor....
Posted: Sat Jan 07, 2006 12:53 pm
by garvinhicking
Does it? Which kind of problems?
Usually, code highlighters are not meant to be used in conjunction with WYSIWYG editing. Because in WYSIWYG, we suspect that you can color/format the code yourself easiy...
Regards,
Garvin
Posted: Sat Jan 07, 2006 5:15 pm
by Guest
problem :
\n convert to <br> ( i put it before NL2BR )
and a lot of problems .....
i must swich to HTML mode and the put my PHP code
but some times i forgot it
if want a codehighlighter look like vbulletin code highlighter
Posted: Sat Jan 07, 2006 5:53 pm
by Guest
IF = I
Posted: Sat Jan 07, 2006 6:12 pm
by garvinhicking
The nl2br plugin must be removed then, I think, since it conflicts with geshi. Or put the nl2br after the geshimarkup plugin?
Maybe you can port the vbulletin markup code to a s9y plugin?
Regards,
Garvin