Help/SyntaxHighlighterPlugin
The SyntaxHighlighter plugin passes all its arguments through a C++
highlighter called "highlight" (available at
http://www.andre-simon.de/).
Author: alecthomas
Arguments
| syntax | (required), See http://www.andre-simon.de/doku/highlight/highlight.html |
|---|---|
| style | [ "ansi", "gnu", "kr", "java", "linux" ] (required) |
| color | null (optional), see highlight/themes |
| number | 0 (optional) |
| wrap | 0 (optional) |
Example
<?plugin SyntaxHighlighter syntax=c style=kr color=emacs
#include <stdio.h>
int main() {
printf("Lalala\n");
}
?>
=>
Fatal Error:
lib/FileFinder.php (In template 'body' < 'html'):191 Error: uploads: file not found
Fatal PhpWiki Error
lib/FileFinder.php (In template 'body' < 'html'):191 Error: uploads: file not found