Le site de l'éducation et des logiciels libres Codes to format blocks - Education Libre

Skip to main content Help Control Panel

Education Libre

L'éducation en toute liberté

Home «   Help index «   All Formatting Codes «  

Codes to format blocks

On this page we are introducing some formatting codes and live examples of utilization.

Indentation [indent]...[/indent]

ExampleRendering
But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...
[indent]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/indent]
But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...
But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...
But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...

But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...

Center [center]...[/center]

ExampleRendering
[center]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/center]

But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...

Right [right]...[/right]

ExampleRendering
[right]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/right]
But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...

Decorated [decorated]...[/decorated]

ExampleRendering
[decorated]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/decorated]
[decorated]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/decorated]
[decorated]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/decorated]
- But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...

- But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...

- But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...

Caution [caution]...[/caution]

ExampleRendering
[caution]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/caution]

!!! But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...

Note [note]...[/note]

ExampleRendering
[note]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/note]

But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...

PHP snippet [php]...[/php]

ExampleRendering
A snippet of load_skin(), from global.php:
[php]
// maybe we are at the root level
if(file_exists($skin.'.php')) {
include $skin.'_library.php';
include 'codes/codes.php';
$context['path_to_root'] = '';

// or we are one level below
} else {
include '../'.$skin.'_library.php';
include '../codes/codes.php';
$context['path_to_root'] = '../';
}
[/php]
A snippet of load_skin(), from global.php:

// maybe we are at the root level
if(file_exists($skin.'.php')) {
    include 
$skin.'_library.php';
    include 
'codes/codes.php';
    
$context['path_to_root'] = '';

// or we are one level below
} else {
    include 
'../'.$skin.'_library.php';
    include 
'../codes/codes.php';
    
$context['path_to_root'] = '../';
}

Pre-formatted [snippet]...[/snippet]

ExampleRendering
Let assume a standard HTTP request to get it, such as the next one, which has 382 bytes:
[snippet]
GET /hello.html HTTP/1.1
Host: www.server.com
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
User-Agent: Mozilla/4.0
Connection: Keep-Alive
[/snippet]
Let assume a standard HTTP request to get it, such as the next one, which has 382 bytes:
GET /hello.html HTTP/1.1
Host: www.server.com
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
User-Agent: Mozilla/4.0
Connection: Keep-Alive

Quote [quote]...[/quote]

ExampleRendering
[quote]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/quote]
" But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed... "

Folder [folder]...[/folder]

ExampleRendering
[folder]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/folder]
Click to fold or pack Click to fold/unfold

Folder with title [folder=<title>]...[/folder]

ExampleRendering
[folder=A Rabbit Story]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/folder]
Click to fold or pack A Rabbit Story

Sidebar [sidebar]...[/sidebar]

ExampleRendering
[sidebar]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/sidebar]

Sidebar with title [sidebar=<title>]...[/sidebar]

ExampleRendering
[sidebar=A Rabbit Story]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/sidebar]

Scroller [scroller]...[/scroller]

ExampleRendering
[scroller]But where will this rabbit be in some minutes?[nl]I don't know, but it depends also on the turtle speed...[/scroller]But where will this rabbit be in some minutes?
I don't know, but it depends also on the turtle speed...