Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

Legacy:Pospi/Geshi

From Unreal Wiki, The Unreal Engine Documentation Site
< Legacy:Pospi
Revision as of 01:31, 24 May 2007 by Pospi (Talk) (new page!)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

GeSHi is a set of PHP classes that allow you to quickly and easily apply syntax highlighting to any text and display the output in HTML. It is used in many places, including phpBB, DokuWiki, WikkaWiki and Mambo.

This is a fairly simple wordfile which you can use to apply syntax highlighting to stuff on your own website / forum etc. Features:

  • Everything you'd normally expect from syntax highlighting
  • Recognises a fairly exhaustive list of common Object and Actor functions, members and enums.
  • Also recognises the most common built-in actor and object classes, and additionally links each to a wiki search for that class
  • Customisable via css etc

To install and start using it, first extract and install GeSHi (tested with 1.0.7.19) by following their directions and then dump the contents of the following code block into a file called uscript.php in the /geshi subdirectory.

Click for file contents

You can find some more info here, see it in action and test it yourself.

Feel free to add to or modify it if you can think of any improvements.