Dotclear


Ignore:
Timestamp:
10/08/13 17:28:47 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

First step of contextual helps, see #1760

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/locales/en/help/page.html

    r1802 r2314  
    8787</dl> 
    8888 
    89 <h4>Wiki syntax reference</h4> 
    90  
    91 <p>The wiki syntax is a way to enhance your text with a minimal set 
    92 of tags, studied to cover the basic needs (titles, paragraphs, quotes, 
    93 lists...)</p> 
    94  
    95 <dl> 
    96 <dt>Block elements</dt> 
    97 <dd> 
    98 <ul> 
    99   <li>Leave an empty line between two similar blocks.</li> 
    100   <li><strong>Paragraph</strong>: free text, ended by an empty line if 
    101   another paragraph is to follow.</li> 
    102   <li><strong>Title</strong>: <code>!!! title</code>, <code>!! title</code> 
    103   or <code>! title</code>, allowing you to use three  different levels of 
    104   heading.</li> 
    105   <li><strong>Horizontal line</strong>: <code>----</code></li> 
    106   <li><strong>Lists</strong>: Start each line with 
    107   <code>*</code> or <code>#</code> for unnumbered or numbered lists respectively. 
    108   List imbrication is done by mixing list markers this way: 
    109 <pre> 
    110 * item 1 
    111 ** item 1.1 
    112 * item 2 
    113 *# item 2.1 
    114 ... 
    115 </pre> 
    116   </li> 
    117   <li><strong>Preformatted text</strong>: each line must start with a space.</li> 
    118   <li><strong>Block quote</strong>: each line must start with a semicolon (<code>&gt;</code>).</li> 
    119 </ul> 
    120 </dd> 
    121  
    122 <dt>Formatting tags</dt> 
    123 <dd> 
    124 <ul> 
    125   <li><strong>Emphasis</strong>: two quotes <code>''text''</code></li> 
    126   <li><strong>Strong emphasis</strong>: two underscore <code>__text__</code></li> 
    127   <li><strong>New line</strong>: <code>%%%</code></li> 
    128   <li><strong>Insertion</strong>: two plusses <code>++text++</code></li> 
    129   <li><strong>Deletion</strong>: two minuses <code>--text--</code></li> 
    130   <li><strong>Link</strong>: <code>[url]</code>, <code>[name|url]</code>, 
    131     <code>[name|url|language]</code> or <code>[name|url|languagee|title]</code></li> 
    132   <li><strong>Image</strong>: 
    133     <code>((url|alternative text))</code>, 
    134     <code>((url|alternative text|position))</code> or 
    135     <code>((url|alternative text|position|long description))</code>. 
    136     <br />The position can be either L or G (left), R or D (right) or C (centered).</li> 
    137   <li><strong>Anchor</strong>: <code>~anchor~</code></li> 
    138   <li><strong>Acronym</strong>: <code>??acronym|title??</code></li> 
    139   <li><strong>Inline HTML</strong>: two backquotes <code>``html code``</code></li> 
    140   <li><strong>Inline quote</strong>: <code>{{quote}}</code>, 
    141     <code>{{quote|language}}</code> or <code>{{quote|language|url}}</code></li> 
    142   <li><strong>Code</strong>: <code>@@code@@</code></li> 
    143   <li><strong>Footnotes</strong>: <code>$$footnote$$</code></li> 
    144 </ul> 
    145 </dd> 
    146  
    147 <dt>Unformatted text</dt> 
    148 <dd>If you don't want one formatting character to be interpreted as such, add a 
    149 <code>\</code> just before it. This way: 
    150 <code>\[text in brackets without being a link\]</code> 
    151 </dd> 
    152  
    153 <dt>HTML Code</dt> 
    154 <dd>Even if you chose the wiki syntax, you may sometimes need a more 
    155 powerful formatting, i.e. HTML syntax. Do it the following way: 
    156 <pre> 
    157 ///html 
    158 &lt;p style="color:red"&gt;my text in red&lt;/p&gt; 
    159 /// 
    160 </pre> 
    161 </dd> 
    162 </dl> 
    163  
    16489</body> 
    16590</html> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map