Syntax highlighting
Syntax highlighting
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
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.