Help:Bearbeiten

From Univention Wiki

Revision as of 15:56, 18 February 2011 by WikiSysop (talk | contribs) (Die Seite wurde neu angelegt: „=GeSHi (Syntax Highlighting)= http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Suppo…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

GeSHi (Syntax Highlighting)

http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

Supported Languages

Usage

On the wiki page, you can now use "syntaxhighlight" elements:

<syntaxhighlight lang="php">
<?php
    $v = "string";    // sample initialization
?>
html text
<?
    echo $v;         // end of php code
?>
</syntaxhighlight>

show:

<?php
    $v = "string";    // sample initialization
?>
html text
<?
    echo $v;         // end of php code
?>
Personal tools