# get parameters
if ($line) {
$line=substr($line,2);
$tag = strtok($line,' ');
$type = strtok(' ');
$extra = strtok('');
if ($tag != 'vim') {
$extra = $type;
$type = $tag;
}
}
# comment out the following two lines to freely use any syntaxes.
if (!in_array($type,$syntax))
return "<pre class='code'>\n$line\n".htmlspecialchars($src)."\n</pre>\n";