Re: Syntax Highlighter plugin usage

"Reini Urban" <[email protected]>
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
2007/6/25, Sabri LABBENE <[email protected]>:
> Hi all,
> It seems that the syntax highlighter plugin is disabled or not installed.
> The following syntax:
>
> <?plugin SyntaxHighlighter syntax=c style=kr color=emacs
>  #include <stdio.h>
>
>  int main() {
>  printf("Lalala\n");
>  }
> ?>
>
> Gives the following errors:
>
> Plugin SyntaxHighlighter failed. sh: line 1: highlight: command not found
>
> Plugin SyntaxHighlighter failed. Couldn't start commandline 'highlight --data-dir /usr/share/highlight --style emacs -c /work1/codex/sabri/codex-3.0/592_wysiwyg_integration/usr/share/codex/src/www/phpwiki-1.3.12p3/uploads/highlight-emacs.css -F kr -q -X -f -S c'
>
> I want to have this plugin working. What do I need to do?

Install highlight?

Read lib/plugin/SyntaxHighlighter.php for the available options,
where to find the highlight executable.
-- 
Reini Urban
http://phpwiki.org/              http://murbreak.at/
http://spacemovie.mur.at/   http://helsinki.at/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.