Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| wiki:syntax [Le 17/05/2007, 22:06] – Correction phrase sur les encadrés iconifiés Lestat the vampire | wiki:syntax [Le 05/08/2026, 21:36] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | {{tag> | + | ====== Formatting Syntax ====== |
| - | ---- | + | [[doku> |
| - | ====== Syntaxe de mise en page ====== | + | ===== Basic Text Formatting |
| - | [[:wiki:DokuWiki]] supporte un **language de balises simple**, qui essaie de rendre les fichiers de données aussi lisibles que possible. Cette page contient toute la syntaxe possible que vous pourrez utiliser en éditant les pages. Regardez simplement le source de cette page en cliquant sur le bouton « Éditer cette page » en haut ou en bas de cette page. Si vous souhaitez essayer quelque chose, rendez-vous dans le [[playground|bac à sable]]. Les balises les plus simples sont facilement accessibles depuis les | + | DokuWiki |
| - | [[doku> | + | |
| - | ===== Mise en forme de texte basique ===== | + | DokuWiki supports **bold**, //italic//, __underlined__ and '' |
| + | Of course you can **__//'' | ||
| - | DokuWiki supporte les textes en //emphase//, **emphase forte**, __souligné__ (déconseillé) et '' | + | Note that the formatting markers have to directly enclose the text, so '' |
| - | Bien sûr, vous pouvez tous les **__//'' | + | |
| - | <code> | + | You can use <sub>subscript< |
| - | DokuWiki supporte les textes en //emphase//, **emphase forte**, | + | |
| - | __souligné__ (déconseillé) et '' | + | |
| - | Bien sûr, vous pouvez tous les **__//'' | + | |
| - | </ | + | |
| - | Vous pouvez aussi utiliser | + | You can use <sub>subscript</ |
| - | Vous pouvez aussi utiliser | + | You can mark something as <del>deleted</del> as well. |
| - | De plus, vous pouvez marquer du contenu comme <del>supprimé</ | + | You can mark something as <del>deleted</ |
| - | De plus, vous pouvez marquer du contenu comme < | + | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. |
| - | **Les paragraphes** sont créés depuis les lignes vides. Si vous souhaitez **forcer un saut de ligne** sans paragraphe, vous pouvez utiliser deux antislashes suivis par un espace ou une fin de ligne. | + | This is some text with some linebreaks\\ Note that the |
| + | two backslashes are only recognized at the end of a line\\ | ||
| + | or followed by\\ a whitespace \\this happens without it. | ||
| - | Voilà du texte avec des sauts de ligne\\ remarquez que les | + | This is some text with some linebreaks\\ Note that the |
| - | deux antislashes sont seulement reconnus en fin de ligne\\ | + | two backslashes are only recognized at the end of a line\\ |
| - | ou suivis par\\ un espace ; \\cela arrive sinon. | + | or followed by\\ a whitespace |
| - | Voilà du texte avec des sauts de ligne\\ remarquez que les | + | You should use forced newlines only if really needed. |
| - | deux antislashes sont seulement reconnus en fin de ligne\\ | + | |
| - | ou suivis par\\ un espace ; \\cela arrive sinon. | + | |
| - | Vous devriez forcer des sauts de ligne uniquement si c'est réellement nécessaire. | + | ===== Links ===== |
| - | ===== Les « tags » ===== | + | DokuWiki supports multiple ways of creating links. |
| + | ==== External ==== | ||
| - | ==== Syntaxe ==== | + | External links are recognized automagically: |
| + | DokuWiki supports multiple ways of creating links. External links are recognized | ||
| + | automagically: | ||
| + | link text as well: [[http:// | ||
| + | addresses like this one: < | ||
| - | Pour utiliser des //tags// (mots-clés) dans les pages du wiki : | + | ==== Internal ==== |
| - | {{tag> | + | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. |
| - | À la place de « (liste des tag) », écrivez tous les //tags// qui peuvent être utilisés pour la page, séparés par une espace. Pour avoir la liste des //tags// disponibles, | + | Internal links are created by using square brackets. You can either just give |
| - | [[http:// | + | |
| + | [[doku> | ||
| + | You can use [[some: | ||
| - | ==== Les « topics » ==== | + | You can use [[some: |
| - | Pour lister les pages ayant un tag utilisez cette syntaxe : | + | For details about namespaces see [[doku> |
| - | {{topic> | + | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax# |
| - | Si vous venez d' | + | This links to [[syntax# |
| - | ===== Liens ===== | + | Notes: |
| - | DokuWiki | + | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. |
| + | * DokuWiki | ||
| + | * When a section' | ||
| + | ==== Interwiki ==== | ||
| - | ==== Externes ==== | + | DokuWiki supports [[doku> |
| - | Les liens externes sont reconnus automatiquement : http://www.google.fr ou simplement www.google.fr - Vous pouvez aussi donner des noms aux liens : [[http:// | + | DokuWiki supports [[doku> |
| + | For example this is a link to Wikipedia' | ||
| - | Les liens externes sont reconnus automatiquement : | + | ==== Windows Shares ==== |
| - | http:// | + | |
| - | Vous pouvez aussi donner des noms aux liens: | + | |
| - | [[http:// | + | |
| - | Les adresses email telles que celle-ci : | + | |
| - | < | + | |
| + | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> | ||
| - | ==== Internes ==== | + | Windows Shares like [[\\server\share|this]] are recognized, too. |
| - | Les liens internes sont créés en utilisant les crochets. Vous pouvez soit juste donner un [[doku> | + | Notes: |
| - | [[doku> | + | |
| - | | + | |
| - | | + | |
| - | utiliser un [[doku>wiki: | + | <?php |
| - | Les pages (//pagenames//) wiki sont converties | + | /** |
| - | | + | * Customization of the english language file |
| - | les caractères spéciaux ne sont pas autorisés. | + | * Copy only the strings that needs to be modified |
| + | */ | ||
| + | $lang[' | ||
| + | </ | ||
| - | Vous pouvez utiliser des [[wiki: | + | ==== Image Links ==== |
| - | Vous pouvez utiliser des [[wiki: | + | You can also use an image to link to another internal or external page by combining the syntax for links and [[# |
| - | | + | |
| - | nom de page // | + | |
| - | Pour plus de détails sur les catégories (// | + | |
| - | Les liens vers une section spécifique sont également possibles. Ajoutez simplement le nom de la section derrière un caractère dièse comme dans le HTML. | + | [[http:// |
| - | Ce lien renvoie vers [[syntax# | + | Please note: The image formatting is the only formatting |
| - | Ce lien renvoie vers [[syntax#internes|cette section]]. | + | The whole [[#images_and_other_files|image]] and [[# |
| - | Notes : | + | ===== Footnotes ===== |
| - | * Les liens vers des [[: | + | You can add footnotes ((This is a footnote)) by using double parentheses. |
| - | * DokuWiki n' | + | |
| - | * Lorsque le titre d'une section est modifié, alors le // | + | |
| + | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
| - | ==== Interwiki | + | ===== Sectioning ===== |
| - | DokuWiki propose les liens [[doku> | + | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string |
| - | DokuWiki propose les liens [[doku> | + | ==== Headline Level 3 ==== |
| - | Ce sont des liens rapides vers d' | + | === Headline Level 4 === |
| - | ceci est un lien vers la définition des Wikis dans la | + | == Headline Level 5 == |
| - | Wikipedia : [[wp> | + | |
| - | ==== Partages Windows | + | |
| + | === Headline Level 4 === | ||
| + | == Headline Level 5 == | ||
| - | Les partages Windows tels que [[\\serveur\partage|ceci]] sont également reconnus. Veuillez noter qu'ils n'ont un sens que dans un groupe | + | By using four or more dashes, you can make a horizontal line: |
| - | d' | + | |
| - | Les partages Windows tels que [[\\serveur\partage|ceci]] sont également | + | ---- |
| - | reconnus. Veuillez noter qu'ils n'ont un sens que dans un groupe | + | |
| - | d' | + | |
| - | Notes : | + | ===== Media Files ===== |
| - | * Pour des raisons de sécurité, la navigation directe de partages Windows ne fonctionne que dans //Microsoft Internet Explorer// par défaut (et seulement dans la « local zone »). | + | You can include external and internal |
| - | * Pour //Mozilla// et // | + | |
| - | * Veuillez consulter [[bug> | + | |
| - | ==== Liens images ==== | + | Real size: {{wiki: |
| - | Vous pouvez aussi utiliser une image afin de créer un lien vers une autre page interne ou externe en combinant les syntaxes des liens et des images (voir ci-dessous) comme ceci : | + | Resize to given width: |
| - | [[http:// | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
| - | [[http:// | + | Resized external image: {{https:// |
| - | NB : la mise en forme image est la seule syntaxe de mise en forme acceptée comme nom du lien. | + | Real size: |
| + | Resize to given width: | ||
| + | Resize to given width and height: {{wiki: | ||
| + | Resized external | ||
| - | ===== Notes de pied de page ===== | ||
| - | Vous pouvez ajouter des notes de pied de page ((Ceci est une note de pied de page)) en utilisant 2 doubles parenthèses. | + | By using left or right whitespaces you can choose the alignment. |
| - | Vous pouvez ajouter des notes de pied de page ((Ceci est | + | {{ wiki: |
| - | une note de pied de page)) en utilisant 2 doubles | + | |
| - | parenthèses. | + | |
| - | ===== Découpage en sections ===== | + | {{wiki: |
| - | Vous pouvez utiliser jusqu' | + | {{ wiki: |
| - | ==== Titre niveau 3 ==== | + | {{ wiki: |
| - | === Titre niveau 4 === | + | |
| - | == Titre niveau 5 == | + | {{ wiki: |
| - | ==== Titre niveau 3 ==== | + | You can also set the alignment explicitly with a ''? |
| - | === Titre niveau 4 === | + | |
| - | == Titre niveau 5 == | + | |
| - | En utilisant quatre tirets ou plus, vous pouvez créer une ligne horizontale | + | {{wiki:dokuwiki-128.png? |
| - | ---- | + | {{wiki: |
| + | Of course, you can add a title (displayed as a tooltip by most browsers), too. | ||
| - | ===== Images et autres fichiers ===== | + | {{ wiki: |
| - | Vous pouvez inclure des [[doku> | + | {{ wiki: |
| - | Taille réelle : | + | For linking an image to another page see [[#Image Links]] above. |
| - | {{wiki: | + | |
| - | Redimension à une largeur donnée : | + | ==== Supported Media Formats ==== |
| - | {{wiki: | + | |
| - | Redimension à une largeur et une hauteur données : | + | DokuWiki can embed the following media formats directly. |
| - | {{wiki: | + | |
| - | Image externe redimensionnée : | + | | Image | '' |
| - | {{http:// | + | | Video | '' |
| + | | Audio | '' | ||
| + | | Flash | '' | ||
| - | Taille réelle : | + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. |
| - | {{wiki: | + | |
| - | Redimension à une largeur donnée : | + | |
| - | {{wiki: | + | |
| - | Redimension à une largeur et une hauteur données : | + | |
| - | {{wiki: | + | |
| - | Image externe redimensionnée : | + | |
| - | {{http:// | + | |
| + | By adding ''? | ||
| - | En utilisant des espaces à gauche ou à droite, vous pouvez choisir l' | + | {{wiki: |
| - | {{ wiki: | + | {{wiki: |
| - | {{wiki: | + | ==== Fallback Formats ==== |
| - | + | ||
| - | {{ wiki: | + | |
| - | + | ||
| - | {{ wiki: | + | |
| - | {{wiki: | + | |
| - | {{ wiki: | + | |
| - | Bien sûr, vous pouvez aussi ajouter un titre (affiché comme une bulle d'info par la plupart des navigateurs). | + | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. |
| - | {{ wiki:dokuwiki-128.png |Ceci est le titre}} | + | For example consider this embedded mp4 video: |
| - | {{ wiki: | + | {{video.mp4|A funny video}} |
| - | Si vous spécifiez un nom de fichier (externe ou interne) qui n'est pas une image ('' | + | When you upload a '' |
| - | ([[wiki: | + | Additionally DokuWiki supports a " |
| - | ===== Listes | + | ===== Lists ===== |
| - | DokuWiki supporte les listes ordonnées et non ordonnées. Pour créer un élément de liste, indentez votre texte par deux espaces et utilisez une « * » pour une liste non ordonnée ou un « - » pour une liste ordonnée. | + | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' |
| - | * Ceci est une liste | + | * This is a list |
| - | * Le second | + | * The second |
| - | * Vous pouvez avoir plusieurs niveaux | + | * You may have different levels |
| - | * Un autre élément | + | * Another item |
| - | - La même liste mais ordonnée | + | - The same list but ordered |
| - | - Un autre élément | + | - Another item |
| - | - Utilisez simplement l' | + | - Just use indention for deeper levels |
| - | - Et voilà | + | - That's it |
| < | < | ||
| - | * Ceci est une liste | + | * This is a list |
| - | * Le second | + | * The second |
| - | * Vous pouvez avoir plusieurs niveaux | + | * You may have different levels |
| - | * Un autre élément | + | * Another item |
| - | - La même liste mais ordonnée | + | - The same list but ordered |
| - | - Un autre élément | + | - Another item |
| - | - Utilisez simplement l' | + | - Just use indention for deeper levels |
| - | - Et voilà | + | - That's it |
| </ | </ | ||
| + | Also take a look at the [[doku> | ||
| + | ===== Text Conversions ===== | ||
| + | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. | ||
| + | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | ||
| + | ==== Text to Image Conversions ==== | ||
| - | + | DokuWiki | |
| - | ===== Émoticônes (smileys) ===== | + | |
| - | + | ||
| - | DokuWiki | + | |
| * 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
| Ligne 270: | Ligne 255: | ||
| * ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
| * ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
| + | * m( %% m( %% | ||
| * :?: %% :?: %% | * :?: %% :?: %% | ||
| * :!: %% :!: %% | * :!: %% :!: %% | ||
| Ligne 276: | Ligne 262: | ||
| * DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
| + | ==== Text to HTML Conversions ==== | ||
| + | Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. | ||
| + | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
| + | "He thought ' | ||
| - | ===== Encadrés iconifiés ===== | + | < |
| + | -> <- < | ||
| + | "He thought ' | ||
| + | </ | ||
| - | Pour ajouter une icône avec un encadré, il faut ajouter deux espaces avant les fins de parenthèse « } » et commencer la ligne suivante par le caractère « > », comme dans les exemples qui suivent : | + | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>entities|pattern file]]. |
| - | {{icons:icone_danger.png | + | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), |
| - | >Ceci est un exemple d'encadré iconifié avec icone_danger.png : | + | |
| - | {{icons: | + | ===== Quoting ===== |
| - | >Ceci est un exemple d' | + | |
| - | {{installation: | + | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: |
| - | >Ceci est un exemple d'encadré iconifié avec warning.png : | + | |
| - | {{installation: | + | <code> |
| - | | + | I think we should do it |
| - | {{icons: | + | > No we shouldn't |
| - | >Ceci est un exemple d'encadré iconifié avec iconnote.png : | + | |
| - | {{icons: | + | >> Well, I say we should |
| - | | + | |
| - | ([[wiki: | + | > Really? |
| - | ===== Typographie ===== | + | >> Yes! |
| - | [[DokuWiki]] peut convertir de simples caractères de texte brut en leurs entités typographiques correctes. Voici un exemple des caractères reconnus. | + | >>> |
| + | </ | ||
| - | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | + | I think we should do it |
| - | "He thought ' | + | |
| - | <code> | + | > No we shouldn't |
| - | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | + | |
| - | "He thought | + | |
| - | </ | + | |
| - | NB : Ces conversions peuvent être interdites dans le fichier de configuration. | + | >> Well, I say we should |
| - | ===== Citations ===== | + | > Really? |
| - | Parfois vous souhaitez marquer du texte afin de montrer que c'est une réponse ou un commentaire. Vous pouvez utiliser la syntaxe suivante : | + | >> Yes! |
| - | Je pense que nous devrions le faire | + | >>> |
| - | | + | |
| - | | + | |
| - | > Vraiment ? | + | |
| - | >> Oui ! | + | |
| - | >>> | + | |
| - | Je pense que nous devrions le faire | + | ===== Tables ===== |
| - | > Non nous ne devrions pas | + | |
| - | >> Eh bien, je pense que si | + | |
| - | > Vraiment ? | + | |
| - | >> Oui ! | + | |
| - | >>> | + | |
| - | ===== Tableaux ===== | + | DokuWiki supports a simple syntax to create tables. |
| - | DokuWiki propose une syntaxe simple pour créer des tableaux. | + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ |
| + | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
| + | | Row 2 Col 1 | some colspan (note the double pipe) || | ||
| + | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
| - | ^ Titre 1 ^ Titre 2 ^ Titre 3 ^ | + | Table rows have to start and end with a '' |
| - | | Ligne 1 Col 1 | Ligne 1 Col 2 | Ligne 1 Col 3 | | + | |
| - | | Ligne 2 Col 1 | colonnes fusionnées (notez la double barre verticale) | + | |
| - | | Ligne 3 Col 1 | Ligne 2 Col 2 | Ligne 2 Col 3 | | + | |
| - | Les lignes de tableau doivent commencer et terminer avec un //pipe// '' | + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ |
| + | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
| + | | Row 2 Col 1 | some colspan (note the double | ||
| + | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | ||
| - | ^ Titre 1 ^ Titre 2 ^ Titre 3 ^ | + | To connect cells horizontally, |
| - | | Ligne 1 Col 1 | Ligne 1 Col 2 | Ligne 1 Col 3 | | + | |
| - | | Ligne 2 Col 1 | colonnes fusionnées (notez la double barre verticale) | + | |
| - | | Ligne 3 Col 1 | Ligne 2 Col 2 | Ligne 2 Col 3 | | + | |
| - | Pour fusionner des cellules horizontalement (// | + | Vertical tableheaders are possible, too. |
| - | Les titres de tableau verticaux sont également possibles. | + | | ^ Heading 1 ^ Heading 2 ^ |
| + | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | ||
| + | ^ Heading 4 | no colspan this time | | | ||
| + | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ||
| - | | ^ Titre 1 ^ Titre 2 ^ | + | As you can see, it's the cell separator before a cell which decides about the formatting: |
| - | ^ Titre 3 | Ligne 1 Col 2 | Ligne 1 Col 3 | | + | |
| - | ^ Titre 4 | pas de fusion cette fois | | | + | |
| - | ^ Titre 5 | Ligne 2 Col 2 | Ligne 2 Col 3 | | + | |
| - | Comme vous pouvez le constater, c'est le séparateur ('|' ou '^') précédant une cellule qui détermine son format : | + | |
| + | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | ||
| + | ^ Heading 4 | no colspan this time | | | ||
| + | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ||
| - | | ^ Titre 1 ^ Titre 2 ^ | + | You can have rowspans (vertically connected cells) by adding '' |
| - | ^ Titre 3 | Ligne 1 Col 2 | Ligne 1 Col 3 | | + | |
| - | ^ Titre 4 | pas de fusion cette fois | | | + | |
| - | ^ Titre 5 | Ligne 2 Col 2 | Ligne 2 Col 3 | | + | |
| - | Note : les fusions verticales (// | + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ |
| + | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | ||
| + | | Row 2 Col 1 | ::: | Row 2 Col 3 | | ||
| + | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
| - | Vous pouvez également aligner le contenu du tableau. Ajoutez simplement au moins deux espaces blancs à l' | + | Apart from the rowspan syntax those cells should not contain anything else. |
| - | ^ | + | |
| - | | | + | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | |
| - | |gauche | + | | Row 2 Col 1 |
| + | | Row 3 Col 1 | ::: | ||
| + | |||
| + | You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. | ||
| + | |||
| + | ^ Table with alignment | ||
| + | | right| | ||
| + | |left | | ||
| | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| - | Voici à quoi ressemble le code source : | + | This is how it looks in the source: |
| - | ^ | + | ^ Table with alignment |
| - | | | + | | right| |
| - | |gauche | + | |left |
| | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| + | Note: Vertical alignment is not supported. | ||
| - | ===== Blocs non analysés | + | ===== No Formatting |
| - | Vous pouvez inclure des blocs non analysés | + | If you need to display text exactly like it is typed (without any formatting), enclose the area either with '' |
| - | '' | + | |
| + | < | ||
| + | This is some text which contains addresses like this: http:// | ||
| + | </ | ||
| + | The same is true for %%// | ||
| + | |||
| + | < | ||
| + | This is some text which contains addresses like this: http:// | ||
| + | </ | ||
| + | The same is true for %%// | ||
| + | |||
| + | ===== Code Blocks ===== | ||
| + | |||
| + | You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags '' | ||
| + | |||
| + | This is text is indented by two spaces. | ||
| < | < | ||
| - | Ceci est du code préformaté, | + | This is preformatted |
| - | | + | |
| </ | </ | ||
| < | < | ||
| - | Ceci est pratiquement la même chose, mais vous pouvez l' | + | This is pretty much the same, but you could use it to show that you quoted a file. |
| </ | </ | ||
| - | Pour laisser l' | + | Those blocks were created by this source: |
| - | < | + | This is text is indented by two spaces. |
| - | Voici du texte qui contient des adresses comme ceci : | + | |
| - | http://www.spiltbrain.org et de la **mise en forme**, mais rien ne se passe. | + | |
| - | </ | + | |
| - | Consultez le source de cette page pour voir comment utiliser ces blocs. | + | < |
| + | This is preformatted code all spaces are preserved: like <-this | ||
| + | </ | ||
| - | ===== Surlignement de syntaxe ===== | + | < |
| + | This is pretty much the same, but you could use it to show that you quoted a file. | ||
| + | </ | ||
| - | [[DokuWiki]] | + | ==== Syntax Highlighting ==== |
| - | [[http:// | + | |
| + | [[wiki:DokuWiki]] | ||
| <code java> | <code java> | ||
| /** | /** | ||
| - | | + | |
| - | | + | |
| */ | */ | ||
| class HelloWorldApp { | class HelloWorldApp { | ||
| public static void main(String[] args) { | public static void main(String[] args) { | ||
| - | System.out.println(" | + | System.out.println(" |
| } | } | ||
| } | } | ||
| </ | </ | ||
| - | Les identificateurs de langage suivants sont actuellement reconnus | + | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 |
| - | ===== Inclure du code HTML ou PHP ===== | + | There are additional [[doku> |
| - | Vous pouvez inclure du code HTML ou PHP pur dans vos documents en | + | ==== Downloadable Code Blocks ==== |
| - | utilisant les tags '' | + | |
| - | <code html4strict> | + | |
| - | < | + | |
| - | Ceci est du <font color=" | + | |
| - | </ | + | |
| - | </ | + | |
| - | <html> | + | When you use the '' |
| - | Ceci est du <font color=" | + | |
| - | </html> | + | |
| - | < | + | < |
| - | < | + | <file php myexample.php> |
| - | echo 'Un logo généré par PHP:'; | + | <?php echo "hello world!"; ?> |
| - | echo '<img src="' | + | </file> |
| - | </php> | + | |
| </ | </ | ||
| - | < | + | <file php myexample.php> |
| - | echo 'Un logo généré par PHP:'; | + | <?php echo "hello world!"; ?> |
| - | echo '<img src="' | + | </file> |
| - | </php> | + | |
| - | **NB** | + | If you don't want any highlighting but want a downloadable file, specify a dash ('' |
| - | configuration par défaut. Dans ce cas, le code est affiché au lieu d'être exécuté. | + | |
| - | ===== Plugins de syntaxe | + | ===== RSS/ATOM Feed Aggregation |
| + | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
| - | La syntaxe de DokuWiki peut être étendue par des [[doku> | + | ^ Parameter |
| + | | any number | will be used as maximum number items to show, defaults to 8 | | ||
| + | | reverse | ||
| + | | author | ||
| + | | date | show item dates | | ||
| + | | description| show the item description. All HTML tags will be stripped | | ||
| + | | nosort | ||
| + | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | ||
| - | ~~INFO:syntaxplugins~~ | + | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki: |
| - | ===== Traduction ===== | + | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' |
| - | Cette page a été traduite par [[utilisateurs:djakoni]]. Vous pouvez trouver la version officielle | + | **Example: |
| + | |||
| + | {{rss> | ||
| + | |||
| + | {{rss> | ||
| + | |||
| + | |||
| + | ===== Control Macros ===== | ||
| + | |||
| + | Some syntax influences how DokuWiki renders | ||
| + | |||
| + | ^ Macro ^ Description | | ||
| + | | %%~~NOTOC~~%% | ||
| + | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
| + | |||
| + | ===== Syntax Plugins ===== | ||
| + | |||
| + | DokuWiki' | ||
| + | |||
| + | ~~INFO: | ||
