problem using GeSHi plugin

Creating and modifying plugins.
Post Reply
martijng
Posts: 2
Joined: Sun Apr 16, 2006 3:21 pm

problem using GeSHi plugin

Post by martijng »

Hi.

I've just downloaded the weblog and now I'm trying to suit it to my needs. That includes including a highlighter. I've installed the GeSHi highlighter from Spartacus, but I'm having trouble configuring it...
Path to GeSHi
This line wasn't filled in. I tryed some code to highlight, but it didn't work, so I thougt 'I have to fill in that line'. I've tried a variety of things, like /plugins/serendipity_event_geshi and /plugins but all those things faild. How can I make it work?

/public/etcetera/serendipity/ is my serendipity directory.

yours, Martijn
martijng
Posts: 2
Joined: Sun Apr 16, 2006 3:21 pm

Re: problem using GeSHi plugin

Post by martijng »

martijng wrote:Hi.

I've just downloaded the weblog and now I'm trying to suit it to my needs. That includes including a highlighter. I've installed the GeSHi highlighter from Spartacus, but I'm having trouble configuring it...
Path to GeSHi
This line wasn't filled in. I tryed some code to highlight, but it didn't work, so I thougt 'I have to fill in that line'. I've tried a variety of things, like /plugins/serendipity_event_geshi and /plugins but all those things faild. How can I make it work?

/public/etcetera/serendipity/ is my serendipity directory.

yours, Martijn
So I got it to work now. But... now, if I post something, the markup is weird.. No color code is applied, and I can see the HTML of these colors.., like

Code: Select all

#
</p><p><code><font color="#000000"><font color="#007700">class </font><font color="#0000bb">FullTreeList </font><font color="#007700">{
#
<br />    
#
<br />    var </font><font color="#0000bb">$tree</font><font color="#007700">;
#
<br />    var </font><font color="#0000bb">$visitor</font><font color="#007700">;
How is this possbile? The New Line 2 BR plugin is switched off..
Post Reply