Dotclear

source: locales/en/help/core_wiki.html @ 3997:6eb2c35bdb0e

Revision 3997:6eb2c35bdb0e, 3.4 KB checked in by franck <carnet.franck.paul@…>, 6 years ago (diff)

Update some help (en and fr) for new wiki subscript form: _<subscript>_

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

Sites map