GeSHi

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

GeSHi

Postby hansfn » Thu Oct 08, 2009 6:20 am

I have just converted the Pivot GeSHi snippet to a PivotX extension. This snippet enables you to use GeSHi, the Generic Syntax Highlighter, from within PivotX by simply setting your code inside a "geshi" block.

Visit http://extensions.pivotx.net/entry/27/geshi for more information and download.
hansfn
Developer
 
Posts: 3281
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: GeSHi

Postby maartenst » Fri Oct 09, 2009 1:14 pm

Hi,

thanks alot for this plugin :D . It is working now for me, but one check, is it normally necessary to leave out the <?php / ?> tags? My blog didn't seem to like them.

regards,

Maarten
maartenst
 
Posts: 7
Joined: Mon Sep 28, 2009 2:48 pm

Re: GeSHi

Postby hansfn » Fri Oct 09, 2009 2:38 pm

I have no problems with the PHP open/close tags - see an example (from my dev/test weblog). At what point didn't it work for you? (What editor did you use and so on.)
hansfn
Developer
 
Posts: 3281
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: GeSHi

Postby maartenst » Fri Oct 09, 2009 5:05 pm

I'm using the default editor, tried it in wysiwig and in the source code mode. In the wysiwig it escapes the < and > symbols, which makes sense.
So do I have to use another editor?
maartenst
 
Posts: 7
Joined: Mon Sep 28, 2009 2:48 pm

Re: GeSHi

Postby hansfn » Fri Oct 09, 2009 8:10 pm

I'm using "None (Plain XHTML)" which actually isn't that bad (since the MarkItUp toolbar is available in that mode).
hansfn
Developer
 
Posts: 3281
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: GeSHi

Postby maartenst » Sat Oct 10, 2009 7:05 am

where do I set the editor? I looked around but couldn't find it..

update: Nevermind, found it. For other people looking for it in the future, it is under 'my info' in the header of the pivotx admin :D
maartenst
 
Posts: 7
Joined: Mon Sep 28, 2009 2:48 pm


Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 4 guests

cron