GeSHi highlighting

From Dragon Age Toolset Wiki
Revision as of 21:31, 16 July 2009 by Jesse van Herk (Talk | contribs) (Created page with 'GeSHi highlighting allows you to specify blocks of content as a particular programming language and have it highlighted appropriately. We have installed syntax highlighting fo...')

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

GeSHi highlighting allows you to specify blocks of content as a particular programming language and have it highlighted appropriately.

We have installed syntax highlighting for NWN scripting and DA scripting! just use either the "dascript" or "nwscript" tags around your code.

NOTE: the dascript highlighting is copied/pasted from the nwscript one; we are looking for contributions/improvements to match what is actually in DAscripts!

Example:

void main()
{
    SendMessageToPC(GetEnteringObject(), "Hello world");
}


Geshi homepage: http://qbnz.com/highlighter/