| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
| wiki:syntax [2026/05/17 07:08] – [Formatting Syntax] chs | wiki:syntax [2026/07/14 10:36] (Version actuelle) – modification externe 127.0.0.1 |
|---|
| ====== Syntaxe de formatage ====== | ====== Formatting Syntax ====== |
| |
| [[doku>DokuWiki]] prend en charge un langage de balisage simple, qui s'efforce de rendre les fichiers de données aussi lisibles que possible. Cette page contient toutes les syntaxes que vous pouvez utiliser lors de l'édition des pages. Jetez simplement un œil au code source de cette page en cliquant sur « Modifier cette page ». Si vous voulez essayer quelque chose, utilisez simplement la page [[playground:playground|bac à sable (playground)]]. Le balisage le plus simple est également facilement accessible via les [[doku>toolbar|boutons de la barre d'outils]]. | [[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too. |
| |
| ===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== |
| DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts. | DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts. |
| Of course you can **__//''combine''//__** all these. | Of course you can **__//''combine''//__** all these. |
| | |
| | Note that the formatting markers have to directly enclose the text, so ''%%** bold **%%'' with spaces inside the markers will not be formatted. |
| |
| You can use <sub>subscript</sub> and <sup>superscript</sup>, too. | You can use <sub>subscript</sub> and <sup>superscript</sup>, too. |
| {{wiki:dokuwiki-128.png }} | {{wiki:dokuwiki-128.png }} |
| {{ wiki:dokuwiki-128.png }} | {{ wiki:dokuwiki-128.png }} |
| | |
| | You can also set the alignment explicitly with a ''?left'', ''?right'' or ''?center'' parameter. This takes precedence over the whitespace alignment above and can be combined with a size. |
| | |
| | {{wiki:dokuwiki-128.png?100&right}} |
| | |
| | {{wiki:dokuwiki-128.png?100&right}} |
| |
| Of course, you can add a title (displayed as a tooltip by most browsers), too. | Of course, you can add a title (displayed as a tooltip by most browsers), too. |