Dotclear

source: locales/sv/help/core_wiki.html @ 0:54703be25dd6

Revision 0:54703be25dd6, 2.8 KB checked in by Dsls <dsls@…>, 14 years ago (diff)

2.3 branch (trunk) first checkin

Line 
1<html>
2<head>
3  <title>Wiki syntax reference</title>
4</head>
5
6<body>
7
8<h3>Wiki syntax reference</h3>
9
10<p>The wiki syntax is a way to enhance your text with a minimal set
11of tags, studied to cover the basic needs (titles, paragraphs, quotes,
12lists...)</p>
13
14<dl>
15<dt>Block elements</dt>
16<dd>
17<ul>
18  <li>Leave an empty line between two similar blocks.</li>
19  <li><strong>Paragraph</strong>: free text, ended by an empty line if
20  another paragraph is to follow.</li>
21  <li><strong>Title</strong>: <code>!!! title</code>, <code>!! title</code>
22  or <code>! title</code>, allowing you to use three  different levels of
23  heading.</li>
24  <li><strong>Horizontal line</strong>: <code>----</code></li>
25  <li><strong>Lists</strong>: Start each line with
26  <code>*</code> or <code>#</code> for unnumbered or numbered lists respectively.
27  List imbrication is done by mixing list markers this way:
28<pre>
29* item 1
30** item 1.1
31* item 2
32*# item 2.1
33...
34</pre>
35  </li>
36  <li><strong>Preformatted text</strong>: each line must start with a space.</li>
37  <li><strong>Block quote</strong>: each line must start with a semicolon (<code>&gt;</code>).</li>
38</ul>
39</dd>
40
41<dt>Formatting tags</dt>
42<dd>
43<ul>
44  <li><strong>Emphasis</strong>: two quotes <code>''text''</code></li>
45  <li><strong>Strong emphasis</strong>: two underscore <code>__text__</code></li>
46  <li><strong>New line</strong>: <code>%%%</code></li>
47  <li><strong>Insertion</strong>: two plusses <code>++text++</code></li>
48  <li><strong>Deletion</strong>: two minuses <code>--text--</code></li>
49  <li><strong>Link</strong>: <code>[url]</code>, <code>[name|url]</code>,
50    <code>[name|url|language]</code> or <code>[name|url|languagee|title]</code></li>
51  <li><strong>Image</strong>:
52    <code>((url|alternative text))</code>,
53    <code>((url|alternative text|position))</code> or
54    <code>((url|alternative text|position|long description))</code>.
55    <br />The position can be either L or G (left), R or D (right) or C (centered).</li>
56  <li><strong>Anchor</strong>: <code>~anchor~</code></li>
57  <li><strong>Acronym</strong>: <code>??acronym|title??</code></li>
58  <li><strong>Inline quote</strong>: <code>{{quote}}</code>,
59    <code>{{quote|language}}</code> or <code>{{quote|language|url}}</code></li>
60  <li><strong>Code</strong>: <code>@@code@@</code></li>
61  <li><strong>Footnotes</strong>: <code>$$footnote$$</code></li>
62</ul>
63</dd>
64
65<dt>Unformatted text</dt>
66<dd>If you don't want one formatting character to be interpreted as such, add a
67<code>\</code> just before it. This way:
68<code>\[text in brackets without being a link\]</code>
69</dd>
70
71<dt>HTML Code</dt>
72<dd>Even if you chose the wiki syntax, you may sometimes need a more
73powerful formatting, i.e. HTML syntax. Do it the following way:
74<pre>
75///html
76&lt;p style="color:red"&gt;my text in red&lt;/p&gt;
77///
78</pre>
79</dd>
80</dl>
81
82
83</body>
84</html>
Note: See TracBrowser for help on using the repository browser.

Sites map