GeSHi: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "== Description == Generic Syntax Highlighter for PHP with support for NSIS == Installation == Installing GeSHi is a snap, even for those most new to PHP. There’s no trick...")
 
 
Line 18: Line 18:
== Links ==
== Links ==


[https://github.com/GeSHi/geshi-1.0 GeSHi Project Page] (GitHub)
* [https://github.com/GeSHi/geshi-1.0 GeSHi Project Page] (GitHub)
 
* [http://qbnz.com/highlighter/ Official Website]
[http://qbnz.com/highlighter/ Official Website]


[[Category:Syntax_Highlighting]]
[[Category:Syntax_Highlighting]]

Latest revision as of 12:53, 23 April 2014

Description

Generic Syntax Highlighter for PHP with support for NSIS

Installation

Installing GeSHi is a snap, even for those most new to PHP. There’s no tricks involved. Honest!

GeSHi is nothing more than a PHP class with related language support files. Those of you familiar with PHP can then guess how easy the installation will be: simply copy it into your include path somewhere. You can put it wherever you like in this include path. I recommend that you put the language files in a subdirectory of your include path too - perhaps the same subdirectory that geshi.php is in. Remember this path for later.

If you don’t know what an include path is, don’t worry. Simply copy GeSHi to your webserver. So for example, say your site is at http://mysite.com/myfolder, you can copy GeSHi to your site so the directory structure is like this:

 http://mysite.com/myfolder/geshi/[language files]
 http://mysite.com/myfolder/geshi.php

For more details, please refer to the GeSHi documentation.

Links