11-07-2007, 03:52 PM
|
#1 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
Added Geshi Syntax Highlighting
To make code easier to read, we have added another aptly named vB hack to TalkPHP. This allows you to specify various languages to highlight. If I can find a comprehensive list then I will list that later.
The syntax highlighting can be used like so:
[highlight=language] var myVar = myFunc(myArg); [/highlight]
Where language is the name of the language, such as javascript.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|