[Index] [TitleIndex] [WordIndex

This page aims to introduce the most important elements of MoinMoin's syntax at a glance, showing first the markup verbatim and then how it is rendered by the wiki engine. Additionally, you'll find links to the relative help pages. Please note that some of the features depend on your configuration.

1. Table of Contents

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

Contents (up to the 2nd level)

2. Headings

see: HelpOnHeadlines

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

3. heading 1st level

3.1. heading 2nd level

3.1.1. heading 3rd level

3.1.1.1. heading 4th level

3.1.1.1.1. heading 5th level

4. Text Formatting

see: HelpOnFormatting

 * ''emphasized (italics)''
 * '''boldface'''
 * '''''bold italics'''''
 * `monospace`
 * {{{source code}}}
 * __underline__
 * ,,sub,,script
 * ^super^script
 * ~-smaller-~
 * ~+larger+~
 * --(strike through)--

5. Hyperlinks

see: HelpOnLinking

5.1. Internal Links

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

5.2. 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
 * [[MeatBall:InterWiki|InterWiki page on MeatBall]]
 * [[file://///servername/share/full/path/to/file/filename%20with%20spaces.txt|link to file filename with spaces.txt]]
 * user@example.com

5.3. Avoid or Limit Automatic Linking

 * Wiki''''''Name
 * Wiki``Name
 * !WikiName
 * WikiName''''''s
 * WikiName``s
 * `http://www.example.com`
 * [[http://www.example.com/]]notlinked

6. Drawings

7. Blockquotes and Indentations

 indented text
  text indented to the 2nd level

8. Lists

see: HelpOnLists

8.1. Unordered Lists

 * item 1

 * item 2 (preceding white space)
  * item 2.1
   * item 2.1.1
 * item 3
  . item 3.1 (bulletless)
 . item 4 (bulletless)
  * item 4.1
   . item 4.1.1 (bulletless)

8.2. Ordered Lists

8.2.1. with Numbers

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

8.2.2. with Roman Numbers

 I. item 1
   i. item 1.1
   i. item 1.2
 I. item 2
  1. item 1
    1. item 1.1
    2. item 1.2
  2. item 2

8.2.3. with Letters

 A. item A
   a. item A. a)
   a. item A. b)
 A. item B
  1. item A
    1. item A. a)
    2. item A. b)
  2. item B

8.3. Definition Lists

 term:: definition
 object::
 :: description 1
 :: description 2
term
definition
object
description 1
description 2

9. Horizontal Rules

see: HelpOnRules

----
-----
------
-------
--------
---------
----------








10. Tables

see: HelpOnTables

10.1. Tables

||'''A'''||'''B'''||'''C'''||
||1      ||2      ||3      ||

A

B

C

1

2

3

10.2. Cell Width

||minimal width ||<99%>maximal width ||

minimal width

maximal width

10.3. Spanning Rows and Columns

||<|2> cell spanning 2 rows ||cell in the 2nd column ||
||cell in the 2nd column of the 2nd row ||
||<-2> cell spanning 2 columns ||
||||use empty cells as a shorthand ||

cell spanning 2 rows

cell in the 2nd column

cell in the 2nd column of the 2nd row

cell spanning 2 columns

use empty cells as a shorthand

10.4. Alignment of Cell Contents

||<^|3> top (combined) ||<:99%> center (combined) ||<v|3> bottom (combined) ||
||<)> right ||
||<(> left ||

top (combined)

center (combined)

bottom (combined)

right

left

10.5. Coloured Table Cells

||<#0000FF> blue ||<#00FF00> green    ||<#FF0000> red    ||
||<#00FFFF> cyan ||<#FF00FF> magenta  ||<#FFFF00> yellow ||

blue

green

red

cyan

magenta

yellow

10.6. HTML-like Options for Tables

||A ||<rowspan="2"> like <|2> ||
||<bgcolor="#00FF00"> like <#00FF00> ||
||<colspan="2"> like <-2>||

A

like <|2>

like <#00FF00>

like <-2>

11. Macros and Variables

11.1. Macros

see: HelpOnMacros

11.2. Variables

see: HelpOnVariables

12. Smileys and Icons

see: HelpOnSmileys

Markup Display Markup Display Markup Display Markup Display
X-( X-( :D :D <:( <:( :o :o
:( :( :) :) B) B) :)) :))
;) ;) /!\ /!\ <!> <!> (!) (!)
:-? :-? :\ :\ >:> >:> |) |)
:-( :-( :-) :-) B-) B-) :-)) :-))
;-) ;-) |-) |-) (./) (./) {OK} {OK}
{X} {X} {i} {i} {1} {1} {2} {2}
{3} {3} {*} {*} {o} {o}    

13. Parsers

see: HelpOnParsers

13.1. Verbatim Display

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

def hello():
    print "Hello World!"

13.2. Syntax Highlighting

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

   1 def hello():
   2     print "Hello World!"

13.3. Using the wiki parser with css classes

{{{#!wiki red/solid
This is wiki markup in a '''div''' with __css__ `class="red solid"`.
}}}

This is wiki markup in a div with css class="red solid".

14. Comments

see: HelpOnComments

Click on "Comments" in edit bar to toggle the /* comments */ visibility.

Click on "Comments" in edit bar to toggle the visibility.

{{{#!wiki comment/dotted
This is a wiki parser section with class "comment dotted" (see HelpOnParsers).

Its visibility gets toggled the same way.
}}}


2014-02-15 05:35