List of Plugin code

lang| title

code
   <code lang  title> some code </ code>

Extern style css

The DokuWiki Styling Rules
    <code css   The DokuWiki Styling Rules>
    extern> http://www.dokuwiki.org/lib/exe/css.php
    </ code>

Exemple:

The DokuWiki Styling Rules
extern> http://www.dokuwiki.org/lib/exe/css.php

Extern Page

The DokuWiki Start-Page
    <code   html 1 |  The DokuWiki Start-Page>
     extern> http://www.dokuwiki.org/
     </ code>

Exemple:

1 | The DokuWiki Start-Page
extern> http://www.dokuwiki.org/

general use

    <code> some code

</code>

Exemple:

 some code

for a header

is a header
    <code|this is a header> some code

</code>

Exemple:

is a header
 some code

code + line 1

     <code 1>    bla bla    

</code>

Exemple:

bla bla

Exemple top

myexample.php.txt
<file php myexample.php.txt>
<?php echo "hello world!"; ?>
</file>
myexample.php.txt
<?php echo "hello world!"; ?>

myexample.html
<file - myexample.html>
<html> <p> <b>"hello world!</b> </p> </html>
</file>
myexample.html
<html> <p> <b>"hello world!</b> </p> </html>

avec couleur code

myexample.html
<html> <p> <b>"hello world!</b> </p> </html>

Highlight

  
       <code lang 123 |[fh] text |[sh] >
       {code to highlight}
       </ code>


Exemple:

123 |
{code to highlight}

Description

marks up ”some text” as preformatted text (w/o any special highlighting) with a footer line of ”A description” and the actual code block hidden initially.

 
      <code |A description |h>
      some text
      </ code>


Exemple:

description |h
some text


HTML highlighting

Liste à puceturns on HTML highlighting for ”some text” and a header line of ”A description:” with the actual code block hidden initially.

|h A description: |h
<code html |h A description: |h>
      <code html |h A description: |h>
      some text
      A description
      test
      </ code>


Exemple:

|h A description: |h
some text

HTML highlighting with line number

turns on HTML highlighting for ”some text” with added line numbers starting with number 66 and a footer line of ”A description” with the actual code block hidden initially.
    
2 |A description |h
      <code html 2 |A description |h>
       some text
       line 2
       </ code>


Exemple:

66 |A description |h
some text