[Wget] [TitleIndex] [WordIndex

Creole Syntax

Creole 1 is a new wiki markup language - its goal is to become the one common wiki syntax and enable better exchange of content between different wiki engines.

This page introduces you to the most important elements of the creole syntax, showing first the markup verbatim and then how it is rendered by the wiki engine. Please note that some of the features depend on your configuration.

BTW: This very page is written in creole syntax!

1. Table of Contents

**Contents** (up to the 2nd level)
<<TableOfContents(2)>>

Contents (up to the 2nd level)

2. Headings

<<TableOfContents()>>

= heading 1st level =
== heading 2nd level ==
=== heading 3rd level ===
==== heading 4th level ====
===== heading 5th level =====

heading 1st level

1. heading 2nd level

1.1. heading 3rd level

1.1.1. heading 4th level

1.1.1.1. heading 5th level

3. Text Formatting

* //emphasized (italics)//
* **boldface**
* **//bold italics//**, //**italics bold**//
* {{{monospace}}}
* [[FrontPage]]
* [[HelpOnEditing/SubPages]]
* [[/SubPage]]
* [[../SiblingPage]]
* [[FrontPage|named link]]
* [[#anchorname]]
* [[#anchorname|description]]
* [[PageName#anchorname]]
* [[PageName#anchorname|description]]
* [[attachment:filename.txt]]
* http://moinmo.in/
* [[http://moinmo.in/]]
* [[http://moinmo.in/|MoinMoin Wiki]]
* [[http://static.moinmo.in/logos/moinmoin.png]]
* {{http://static.moinmo.in/logos/moinmoin.png}}
* [[http://static.moinmo.in/logos/moinmoin.png|moinmoin.png]]
* [[MeatBall:InterWiki|InterWiki page on MeatBall]]
* [[file://///servername/share/full/path/to/file/filename%20with%20spaces.txt|link to file filename with spaces.txt]]
* [[mailto:user@example.com]]

4.3. Avoid or Limit Automatic Linking

 * {{{http://www.example.com}}}
 * ~http://www.example.com/

5. Drawings

{{drawing:myexample}}

6. Lists

6.1. Unordered Lists

* item 1

* item 2 (preceding white space)
** item 2.1
*** item 2.1.1
* item 3

6.2. Ordered Lists

# item 1
## item 1.1
## item 1.2
# item 2
  1. item 1
    1. item 1.1
    2. item 1.2
  2. item 2

7. Horizontal Rule

----

8. Tables

|=A |=B |=C |
| 1 | 2 | 3 |
A B C
1 2 3

9. Linebreak

forced\\linebreak

forced
linebreak

10. Macros and Variables

10.1. Macros

10.2. Variables

11. Parsers

11.1. Verbatim Display

{{{
def hello():
    print "Hello World!"
}}}
def hello():
    print "Hello World!"

11.2. Syntax Highlighting

{{{
#!python
def hello():
    print "Hello World!"
}}}
   1 def hello():
   2     print "Hello World!"

See also CreoleCheatCheet (PNG image)



2017-01-04 00:04