Topic: Installierte Erweiterung: GeSHi Highlight

Mit der Erweiterung können Code-Abschnitte mit farblicher Syntax-Hervorhebung versehen werden. Dazu muss im Code-Tag die Sprache angegeben werden. Z.B.

[co de=cpp]int main(void) { stdout << "Hello world\n"; return 0; }[/co de]

int main(void) { stdout << "Hello world\n"; return 0; }

[co de=php]function test() { echo "Hello world!\n"; }[/co de]

function test() { echo "Hello world!\n"; }

[co de=html]<html><head><title>Hello</title></head><body><p>World</p></body></html>[/co de]

<html><head><title>Hello</title></head><body><p>World</p></body></html>
Post's attachments

Attachment icon geshi_highlight_1.0.4.zip 68.01 kb, 830 downloads since 2011-05-11 

It is like the number zero… empty, yet holding infinite potential within itself.
- Igor, Persona 4

2 (edited by /me 2011-05-10 @502)

Re: Installierte Erweiterung: GeSHi Highlight

Schwarze Schrift auf Carbon sieht doof aus.

Re: Installierte Erweiterung: GeSHi Highlight

Wie kommst du darauf? Du siehst sie doch (fast) gar nicht. big_smile

It is like the number zero… empty, yet holding infinite potential within itself.
- Igor, Persona 4