Mainframe
  • Kommentare
  • Geschützte Seite
  • Menu
    • Navigation
    • AktuelleÄnderungen
    • SeiteFinden
    • ÜbersichtsKarte
    • Help
    • HilfeInhalt
    • HilfeZurMoinWikiSyntax
    • Anzeige
    • Dateianhänge
    • Info
    • Rohform
    • Druckansicht
    • Editieren
    • Laden
    • Speichern
  • Anmelden

Spaces

Public
JoSeb
RadFix
CoderDojo

Unterseiten

  • keine
  • Navigation

    • AktuelleÄnderungen
    • SeiteFinden
    • HilfeInhalt
    • HelpOnCreoleSyntax

    Creole Syntax

    Inhaltsverzeichnis

    1. Creole Syntax
      1. Table of Contents
      2. Headings
      3. Text Formatting
      4. Hyperlinks
        1. Internal Links
        2. External Links
        3. Avoid or Limit Automatic Linking
      5. Drawings
      6. Lists
        1. Unordered Lists
        2. Ordered Lists
      7. Horizontal Rule
      8. Tables
      9. Linebreak
      10. Macros and Variables
        1. Macros
        2. Variables
      11. Parsers
        1. Verbatim Display
        2. Syntax Highlighting

    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!

    Table of Contents

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

    Contents (up to the 2nd level)

    Inhaltsverzeichnis

    1. Creole Syntax
      1. Table of Contents
      2. Headings
      3. Text Formatting
      4. Hyperlinks
      5. Drawings
      6. Lists
      7. Horizontal Rule
      8. Tables
      9. Linebreak
      10. Macros and Variables
      11. Parsers

    Headings

    <<TableOfContents()>>
    
    = heading 1st level =
    == heading 2nd level ==
    === heading 3rd level ===
    ==== heading 4th level ====
    ===== heading 5th level =====

    Inhaltsverzeichnis

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

    heading 1st level

    heading 2nd level

    heading 3rd level

    heading 4th level

    heading 5th level

    Text Formatting

    * //emphasized (italics)//
    * **boldface**
    * **//bold italics//**, //**italics bold**//
    * {{{monospace}}}
    • emphasized (italics)
    • boldface
    • bold italics, italics bold
    • monospace

    Hyperlinks

    Internal Links

    * [[FrontPage]]
    * [[HelpOnEditing/SubPages]]
    * [[/SubPage]]
    * [[../SiblingPage]]
    * [[FrontPage|named link]]
    * [[#anchorname]]
    * [[#anchorname|description]]
    * [[PageName#anchorname]]
    * [[PageName#anchorname|description]]
    * [[attachment:filename.txt]]
    • FrontPage
    • HelpOnEditing/SubPages
    • /SubPage
    • ../SiblingPage
    • named link
    • #anchorname
    • description
    • PageName#anchorname
    • description
    • attachment:filename.txt

    External Links

    * 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]]
    • http://moinmo.in/
    • http://moinmo.in/
    • MoinMoin Wiki
    • http://static.moinmo.in/logos/moinmoin.png
    • http://static.moinmo.in/logos/moinmoin.png
    • moinmoin.png
    • InterWiki page on MeatBall
    • link to file filename with spaces.txt
    • mailto:user@example.com

    Avoid or Limit Automatic Linking

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

    Drawings

    {{drawing:myexample}}

    [ANHÄNGEN]

    Lists

    Unordered Lists

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

    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

    Horizontal Rule

    ----

    Tables

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

    Linebreak

    forced\\linebreak

    forced
    linebreak

    Macros and Variables

    Macros

    • <<Anchor(anchorname)>> inserts a link anchor anchorname
    • <<BR>> inserts a hard line break
    • <<FootNote(Note)>> inserts a footnote saying Note
    • <<Include(HelpOnMacros/Include)>> inserts the contents of the page HelpOnMacros/Include inline
    • <<MailTo(user AT example DOT com)>> obfuscates the email address user@example.com to users not logged in

    Variables

    • @SIG@ inserts your login name and timestamp of modification
    • @TIME@ inserts date and time of modification

    Parsers

    Verbatim Display

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

    Syntax Highlighting

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

    See also CreoleCheatCheet (PNG image)


    1. http://www.wikicreole.org/ (1)

    • MoinMoin Powered
    • Python Powered
    • GPL licensed
    • Valid HTML 4.01