SA-MP Forums Archive
[Tool/Web/Other] [PHP]Pawn for GeSHi - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] [PHP]Pawn for GeSHi (/showthread.php?tid=376989)



[PHP]Pawn for GeSHi - R@f - 12.09.2012

Hello all,

Here's my last release, the Pawn language support for GeSHi. I know that Dracoblue already did this but his version is from 2007 and most of the SA-MP functions are missing. I used the same colors as his language file.

What is GeSHi
GeSHi is a Syntax Highlighter library for PHP. You can color your code like Pastebin.org (they are using GeSHi as well).

How to use it
Download the code (link below), paste the code in a file named "pawn.php" and put it in the "geshi" folder (with all other language files) of you GeSHi lib.
You can highlight a code with the following script : http://pastebin.com/ejreeLcB
Or simply integrate it to your Pastebin or forum.

Download
You can get it from here : http://pastebin.com/0L0xwKmk

Suggestions
Please post you suggestions here


Re: [PHP]Pawn for GeSHi - Fj0rtizFredde - 12.09.2012

Nice, I was about to make one aswell since I have been using a C highlighter for some time now. Good work.


Re: [PHP]Pawn for GeSHi - Niko_boy - 13.09.2012

will be great


Re: [PHP]Pawn for GeSHi - changeME - 27.11.2012

nice


Re: [PHP]Pawn for GeSHi - RiChArD_A - 10.04.2013

So you said that pastebin uses a system created by you?


AW: [PHP]Pawn for GeSHi - ElMelo - 11.04.2013

Nice