Help:Bearbeiten

From Univention Wiki

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