All text on our sites is written in WikiCreole 1.0 syntax. Creole is a standard markup language used in many Wiki based sites.
For the main syntax, go to www.wikicreole.org/wiki/Creole1.0. We follow all except the structure for tables which we made a bit different. Links and Images are also a bit extended compared to 1.0.
The render machine will first divide each page in lines. Don't misunderstand lines, sometimes if the window is to small and the line is long, it will show on several lines on the screen, but it is the end-line character which counts. One or more empty lines will always result on an empty line on the final web-page, so if you have several empty lines for clarity, only one will be shown.
Second; after each page is divided into lines, each will be interpreted one by one. Lines STARTING with a star sign, will be interpreted as bullet lists. Lines STARTING with a # sign, will be interpreted as numbered lists. Lines STARTING with a semi-colon sign, will be interpreted as comments and will not show on the final page, not even as html comments (see this page source for an example at the top).
single equal sign (=) will be interpreted as a normal equal sign, not the H1 html tag, since there is a special field for document header. headers must start with 2 or more equal-signs.
== sub header 2 ==
rendered as the H2 html tag.
=== sub header 3 ===
rendered as the H3 html tag.
==== sub header 4 ====
rendered as the H4 html tag.
===== sub header 5 =====
rendered as the H5 html tag.
====== sub header 6 ======
rendered as the H6 html tag.
two stars before and after a word or sentence = bold face text
two slashes before and after a word or sentence = italic text
two underscore before and after a word or sentence = underline text
lines starting with four dashes will be converted to a horisontal line. text at the right will be interpreted as options to the tag.
indentation is made with different number of colons in the start of the line. Max level of indents is 6.
indent one
indent two
indent three, etc..
bullet lists starts with a star sign.
numbered lists starts with a # sign.
syntax: [[path/name|options|link text]]
internal links starts with one slash or none as in /78ths/. external links starts with two slashes as in laurells.net
if special paragraph wanted for a link as in most links lists, use ;
[[//laurells.net|info:text|link text]]
syntax: {{path/name|options|alt text}}
options:
numeric options are interpreted as max-width (default is 700)
place is specified with left, right or center
click:path means the image is clickable to the link "path"
icon means the image will be decreased to icon size
info:text means there is a text to be put AFTER the image
captions is always the last option specified
default image type is .jpg if not specified.
computer code or text which should not be rendered and not even line-feeds added, starts with (( on an empty line and ends with )) on a empty line. a code and pre tag is added to the page. Example;
#include <stdio.h>
int main()
{
printf("Hello world!
");
return 0;
}
text which is not code but still should not be interpreted and just show-as-is, use trible curly braces on empty lines. This will make floating text as in standard html. Example;
this link does still look as in the editor; [[path/name|options]]lines start with || means start/end of table and generates a TABLE tag in html.
lines start with |- will be interpreted as new lines and generates TR tags in html.
lines start with |= will be interpreted as headers and generate TH tags in html.
lines start with | will be interpreted as a cell and generate TD tags in html.
|| parameters allowed here
|= header column one
|= header column two
|= header column three
|- parameters allowed here
| line 1 cell 1.
| line 1 cell 2.
| line 1 cell 3.
|-
| line 2 cell 1.
| line 2 cell 2.
| line 2 cell 3.
||
| no | name | descript |
|---|---|---|
| 1 | adam | first man on earth |
| 2 | eve | first woman on earth |
%% ?? not implemented yet
&& ?? not implemented yet
!! ?? not implemented yet
++ ?? not implemented yet
-- ?? not implemented yet (not recommended, sometimes used in normal text)
@@ ?? not implemented yet
?? ?? not implemented yet (not recommended, sometimes used in normal text)
$$ ?? not implemented yet
%% ?? not implemented yet
££ ?? not implemented yet
"" ?? not implemented yet
½½ ?? not implemented yet
In my version I added a few basic smileys :
| smile : ) | |
| wink ; ) | |
| sad : ( | |
| biggrin : D | |
| tongue : P | |
| mad : { | |
| unsure 8 ~ | |
| oops : o | |
| blink 8 o | |
| cool 8 ' | |
| rolleyes 8 } | |
| thumbup : yes : | |
| thumbdown : no : |