Unclassified NewsBoard Code Reference

AbbcSyntaxHighlight function

Add syntax highlighting to a string

function AbbcSyntaxHighlight ($text, $incode = false);

Parameters:

text
(string) Text to highlight
incode  –  optional, default: false
(string) Source code language name

Return value:

(string) colourful HTML

Implementation file: unb_lib/abbc.lib.php, line 974

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.