Loading...
 
Skip to main content

Features / Usability


problem with geshi

Hello, I am trying to use geshi on my Tiki website.

I put following code in my article:

Image
Copy to clipboard
^{/CODE(colors=c)} int main() { int a=3; int b=7; printf("%d\n",a); return 0; }


(I added "/" before the CODE to post it on forum)

But it's black and white only, I don't see any syntax highlighting.
I unpacked geshi installation into my tiki/lib, and file tiki/lib/geshi/geshi.php exists.
How can I verify that geshi is correctly installed? Can I check any Tiki logs?

What I am doing wrong?
I realized that when I put this code here, on the forum, it's also not highlighted.
So maybe my code is wrong?