Syntax highlighting

Syntax highlighting

allanallan Posts: 61,438Questions: 1Answers: 10,052 Site admin
edited May 2009 in General
Hello all,

Given the nature of this forum, it's quite common to post code snippets in posts, and syntax highlighting can really help with the legibility of that code. To that end I've just completed the integration of the excellent SyntaxHightlighter ( http://alexgorbatchev.com/wiki/SyntaxHighlighter ) which is used else where on this site.

To have your code formatted simply put "[ code ]" at the start and "[ /code ]" at the end (without the spaces!). When you do it will come out something like:

[code]
example code...
[/code]

Allan
This discussion has been closed.