~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/underlay/pages/HelpOnCreoleSyntax/revisions/00000001

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mfrom: (0.9.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080622211713-fpo2zrq3s5dfecxg
Tags: 1.7.0-3
Simplify /etc/moin/wikilist format: "USER URL" (drop unneeded middle
CONFIG_DIR that was wrongly advertised as DATA_DIR).  Make
moin-mass-migrate handle both formats and warn about deprecation of
the old one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Please edit system and help pages ONLY in the master wiki!
 
2
## For more information, please see MoinMoin:MoinDev/Translation.
 
3
##master-page:Unknown-Page
 
4
##master-date:Unknown-Date
 
5
#acl -All:write Default
 
6
#format text/creole
 
7
#language en
 
8
 
 
9
[[HelpForUsers]] > [[HelpOnEditing]] > [[HelpOnProcessingInstructions]] > HelpOnCreoleSyntax
 
10
 
 
11
**Creole** <<FootNote(http://www.wikicreole.org/)>> 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.
 
12
 
 
13
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.
 
14
 
 
15
  //BTW: This very page is written in creole syntax!//
 
16
 
 
17
= Table of Contents =
 
18
{{{
 
19
**Contents** (up to the 2nd level)
 
20
<<TableOfContents(2)>>
 
21
}}}
 
22
**Contents** (up to the 2nd level)
 
23
<<TableOfContents(2)>>
 
24
 
 
25
 
 
26
= Headings =
 
27
{{{
 
28
= heading 1st level =
 
29
== heading 2nd level ==
 
30
=== heading 3rd level ===
 
31
==== heading 4th level ====
 
32
===== heading 5th level =====
 
33
}}}
 
34
= heading 1st level =
 
35
== heading 2nd level ==
 
36
=== heading 3rd level ===
 
37
==== heading 4th level ====
 
38
===== heading 5th level =====
 
39
 
 
40
 
 
41
= Text Formatting =
 
42
{{{
 
43
* //emphasized (italics)//
 
44
* **boldface**
 
45
* **//bold italics//**, //**italics bold**//
 
46
* {{{monospace}}}
 
47
}}}
 
48
* //emphasized (italics)//
 
49
* **boldface**
 
50
* **//bold italics//**, //**italics bold**//
 
51
* {{{monospace}}}
 
52
 
 
53
 
 
54
= Hyperlinks =
 
55
== Internal Links ==
 
56
{{{
 
57
* [[FrontPage]]
 
58
* [[HelpOnEditing/SubPages]]
 
59
* [[/SubPage]]
 
60
* [[../SiblingPage]]
 
61
* [[FrontPage|named link]]
 
62
* [[#anchorname]]
 
63
* [[#anchorname|description]]
 
64
* [[PageName#anchorname]]
 
65
* [[PageName#anchorname|description]]
 
66
* [[attachment:filename.txt]]
 
67
}}}
 
68
* [[FrontPage]]
 
69
* [[HelpOnEditing/SubPages]]
 
70
* [[/SubPage]]
 
71
* [[../SiblingPage]]
 
72
* [[FrontPage|named link]]
 
73
* [[#anchorname]]
 
74
* [[#anchorname|description]]
 
75
* [[PageName#anchorname]]
 
76
* [[PageName#anchorname|description]]
 
77
* [[attachment:filename.txt]]
 
78
 
 
79
== External Links ==
 
80
{{{
 
81
* http://moinmo.in/
 
82
* [[http://moinmo.in/]]
 
83
* [[http://moinmo.in/|MoinMoin Wiki]]
 
84
* [[http://static.moinmo.in/logos/moinmoin.png]]
 
85
* {{http://static.moinmo.in/logos/moinmoin.png}}
 
86
* [[http://static.moinmo.in/logos/moinmoin.png|moinmoin.png]]
 
87
* [[MeatBall:InterWiki|InterWiki page on MeatBall]]
 
88
* [[file://///servername/share/full/path/to/file/filename%20with%20spaces.txt|link to file filename with spaces.txt]]
 
89
* [[mailto:user@example.com]]
 
90
}}}
 
91
 
 
92
* http://moinmo.in/
 
93
* [[http://moinmo.in/]]
 
94
* [[http://moinmo.in/|MoinMoin Wiki]]
 
95
* [[http://static.moinmo.in/logos/moinmoin.png]]
 
96
* {{http://static.moinmo.in/logos/moinmoin.png}}
 
97
* [[http://static.moinmo.in/logos/moinmoin.png|moinmoin.png]]
 
98
* [[MeatBall:InterWiki|InterWiki page on MeatBall]]
 
99
* [[file://///servername/share/full/path/to/file/filename%20with%20spaces.txt|link to file filename with spaces.txt]]
 
100
* [[mailto:user@example.com]]
 
101
 
 
102
== Avoid or Limit Automatic Linking ==
 
103
{{{
 
104
 * {{{http://www.example.com}}}
 
105
 * ~http://www.example.com/
 
106
}}}
 
107
 * {{{http://www.example.com}}}
 
108
 * ~http://www.example.com/
 
109
 
 
110
 
 
111
= Drawings =
 
112
{{{
 
113
{{drawing:myexample}}
 
114
}}}
 
115
 
 
116
{{drawing:myexample}}
 
117
 
 
118
 
 
119
= Lists =
 
120
== Unordered Lists ==
 
121
{{{
 
122
* item 1
 
123
 
 
124
* item 2 (preceding white space)
 
125
** item 2.1
 
126
*** item 2.1.1
 
127
* item 3
 
128
}}}
 
129
 
 
130
* item 1
 
131
 
 
132
* item 2 (preceding white space)
 
133
** item 2.1
 
134
*** item 2.1.1
 
135
* item 3
 
136
 
 
137
== Ordered Lists ==
 
138
{{{
 
139
# item 1
 
140
## item 1.1
 
141
## item 1.2
 
142
# item 2
 
143
}}}
 
144
 
 
145
# item 1
 
146
## item 1.1
 
147
## item 1.2
 
148
# item 2
 
149
 
 
150
 
 
151
= Horizontal Rule =
 
152
{{{
 
153
----
 
154
}}}
 
155
----
 
156
 
 
157
 
 
158
= Tables =
 
159
{{{
 
160
|=A |=B |=C |
 
161
| 1 | 2 | 3 |
 
162
}}}
 
163
|=A |=B |=C |
 
164
| 1 | 2 | 3 |
 
165
 
 
166
= Other =
 
167
{{{
 
168
forced\\linebreak
 
169
}}}
 
170
forced\\linebreak
 
171
 
 
172
 
 
173
= Macros and Variables =
 
174
== Macros ==
 
175
* {{{<<Anchor(anchorname)>>}}} inserts a link anchor {{{anchorname}}}
 
176
* {{{<<BR>>}}} inserts a hard line break
 
177
* {{{<<FootNote(Note)>>}}} inserts a footnote saying {{{Note}}}
 
178
* {{{<<Include(HelpOnMacros/Include)>>}}} inserts the contents of the page {{{HelpOnMacros/Include}}} inline
 
179
* {{{<<MailTo(user AT example DOT com)>>}}} obfuscates the email address {{{user@example.com}}} to users not logged in
 
180
 
 
181
 
 
182
= Parsers =
 
183
== Verbatim Display ==
 
184
{{{
 
185
{{{
 
186
def hello():
 
187
    print "Hello World!"
 
188
~}}}
 
189
}}}
 
190
 
 
191
{{{
 
192
def hello():
 
193
    print "Hello World!"
 
194
}}}
 
195
 
 
196
== Syntax Highlighting ==
 
197
{{{
 
198
{{{
 
199
#!python
 
200
def hello():
 
201
    print "Hello World!"
 
202
~}}}
 
203
}}}
 
204
 
 
205
{{{
 
206
#!python
 
207
def hello():
 
208
    print "Hello World!"
 
209
}}}
 
210
----
 
211
See also [[http://www.wikicreole.org/attach/CheatSheet/creole_cheat_sheet.png|CreoleCheatCheet]] (PNG mage)
 
212
----