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 26/03/2007, 14:24] – 83.182.164.103 | 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 | + | DokuWiki |
| - | [[doku> | + | |
| - | ===== Mise en forme de texte basique ===== | + | DokuWiki supports **bold**, //italic//, __underlined__ and '' |
| + | Of course you can **__//'' | ||
| - | DokuWiki supporte les textes en **gras**, // | + | Note that the formatting markers have to directly enclose the text, so '' |
| - | Bien sûr, vous pouvez tous les **__//'' | + | |
| - | DokuWiki supporte les textes en **gras**, //italique//, __souligné__ et '' | + | You can use < |
| - | 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 ===== |
| - | ===== TAG ===== | + | DokuWiki supports multiple ways of creating links. |
| + | ==== External ==== | ||
| - | ==== TAG : syntaxe ==== | + | External links are recognized automagically: http:// |
| + | 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:// | + | |
| - | ==== TOPIC ==== | + | [[doku> |
| - | Pour lister les pages ayant un tag utilisez cette syntaxe | + | You can use [[some:namespaces]] by using a colon in the pagename. |
| - | < | + | You can use [[some: |
| - | {{topic> | + | |
| - | </ | + | |
| + | For details about namespaces see [[doku> | ||
| + | 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# | ||
| + | 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 [[wiki: | + | 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. | + | |
| - | 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: |
| - | ===== Images et autres fichiers ===== | + | Of course, you can add a title (displayed as a tooltip by most browsers), too. |
| - | Vous pouvez inclure des [[doku> | + | {{ wiki: |
| - | Taille réelle : | + | |
| - | {{wiki: | + | |
| - | Redimension à une largeur donnée : | + | For linking an image to another page see [[#Image Links]] above. |
| - | {{wiki: | + | |
| - | Redimension à une largeur et une hauteur données : | + | ==== Supported Media Formats ==== |
| - | {{wiki: | + | |
| - | Image externe redimensionnée : | + | DokuWiki can embed the following media formats directly. |
| - | {{http:// | + | |
| - | Taille réelle : | + | | Image | '' |
| - | {{wiki: | + | | Video | '' |
| - | Redimension à une largeur donnée : | + | | Audio | '' |
| - | | + | | Flash | '' |
| - | | + | |
| - | | + | |
| - | Image externe redimensionnée : | + | |
| - | {{http:// | + | |
| + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | ||
| - | En utilisant des espaces à gauche ou à droite, vous pouvez choisir l'alignement | + | By adding |
| - | {{ wiki: | + | |
| - | {{wiki: | + | {{wiki: |
| - | {{ wiki: | + | ==== Fallback Formats ==== |
| - | {{ wiki: | + | 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: | + | |
| - | {{ wiki: | + | |
| - | + | ||
| - | Bien sûr, vous pouvez aussi ajouter un titre (affiché comme une bulle d'info par la plupart des navigateurs). | + | |
| - | {{ 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 '' |
| + | 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 '' | + | 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, | ||
| - | ===== Emoticônes (Smileys) ===== | + | ==== Text to Image Conversions |
| - | DokuWiki | + | DokuWiki |
| * 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
| Ligne 262: | Ligne 255: | ||
| * ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
| * ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
| + | * m( %% m( %% | ||
| * :?: %% :?: %% | * :?: %% :?: %% | ||
| * :!: %% :!: %% | * :!: %% :!: %% | ||
| Ligne 268: | Ligne 262: | ||
| * DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
| - | ===== Typographie ===== | + | ==== Text to HTML Conversions |
| - | [[DokuWiki]] | + | Typography: |
| -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
| Ligne 280: | Ligne 274: | ||
| </ | </ | ||
| - | NB : Ces conversions peuvent être interdites dans le fichier de configuration. | + | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> |
| - | ===== Citations ===== | + | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' |
| - | Parfois vous souhaitez marquer du texte afin de montrer que c'est une réponse ou un commentaire. Vous pouvez utiliser la syntaxe suivante : | + | ===== Quoting ===== |
| - | Je pense que nous devrions le faire | + | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: |
| - | > Non nous ne devrions pas | + | |
| - | >> Eh bien, je pense que si | + | |
| - | > Vraiment ? | + | |
| - | >> Oui ! | + | |
| - | >>> | + | |
| - | Je pense que nous devrions le faire | + | <code> |
| - | > Non nous ne devrions pas | + | I think we should do it |
| - | >> Eh bien, je pense que si | + | |
| - | > Vraiment ? | + | |
| - | >> Oui ! | + | |
| - | >>> | + | |
| - | ===== Tableaux ===== | + | > No we shouldn' |
| - | DokuWiki propose une syntaxe simple pour créer des tableaux. | + | >> Well, I say we should |
| - | ^ Titre 1 ^ Titre 2 ^ Titre 3 ^ | + | > Really? |
| - | | 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// '' | + | >> Yes! |
| - | ^ Titre 1 ^ Titre 2 ^ Titre 3 ^ | + | >>> |
| - | | 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 (// | + | I think we should do it |
| - | Les titres de tableau verticaux sont également possibles. | + | > No we shouldn' |
| - | | ^ Titre 1 ^ Titre 2 ^ | + | >> Well, I say we should |
| - | ^ 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 (' | + | > Really? |
| - | | ^ Titre 1 ^ Titre 2 ^ | + | >> Yes! |
| - | ^ 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 (// | + | >>> |
| - | Vous pouvez également aligner le contenu du tableau. Ajoutez simplement au moins deux espaces blancs à l' | + | ===== Tables ===== |
| - | ^ | + | DokuWiki supports a simple syntax to create tables. |
| - | | | + | |
| - | |gauche | + | ^ Heading 1 |
| + | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
| + | | Row 2 Col 1 | ||
| + | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
| + | |||
| + | Table rows have to start and end with a '' | ||
| + | |||
| + | ^ Heading 1 ^ Heading 2 | ||
| + | | ||
| + | | Row 2 Col 1 | some colspan (note the double pipe) || | ||
| + | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
| + | |||
| + | To connect cells horizontally, | ||
| + | |||
| + | Vertical tableheaders are possible, too. | ||
| + | |||
| + | | ^ 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 | | ||
| + | |||
| + | As you can see, it's the cell separator before a cell which decides about the formatting: | ||
| + | |||
| + | | ^ 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 | | ||
| + | |||
| + | You can have rowspans (vertically connected cells) by adding '' | ||
| + | |||
| + | ^ 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 | | ||
| + | |||
| + | Apart from the rowspan syntax those cells should not contain anything else. | ||
| + | |||
| + | ^ 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 | | ||
| + | |||
| + | 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 | ||
| + | | | ||
| + | |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. | ||
| + | |||
| + | ===== No Formatting ===== | ||
| + | |||
| + | If you need to display text exactly like it is typed (without any formatting), | ||
| + | |||
| + | < | ||
| + | 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 %%// | ||
| - | ===== Blocs non analysés | + | ===== Code Blocks |
| - | Vous pouvez inclure des blocs non analysés (//non parsed//) dans vos documents | + | You can include code blocks into your documents |
| - | '' | + | |
| + | 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:'; | + | <? |
| - | echo '<img src="' | + | </ |
| - | </php> | + | |
| + | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
| + | |||
| + | ===== RSS/ATOM Feed Aggregation ===== | ||
| + | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
| + | |||
| + | ^ 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). | | ||
| + | |||
| + | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki: | ||
| + | |||
| + | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | ||
| + | |||
| + | **Example: | ||
| + | |||
| + | {{rss> | ||
| + | |||
| + | {{rss>http:// | ||
| + | |||
| + | |||
| + | ===== Control Macros ===== | ||
| + | |||
| + | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | ||
| - | **NB** : L' | + | ^ Macro ^ Description | |
| - | configuration par défaut. Dans ce cas, le code est affiché au lieu d' | + | | %%~~NOTOC~~%% |
| + | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
| - | ===== Plugins | + | ===== Syntax |
| - | La syntaxe de DokuWiki | + | DokuWiki's syntax can be extended by [[doku> |
| ~~INFO: | ~~INFO: | ||
| - | ===== Traduction ===== | ||
| - | Cette page a été traduite par [[utilisateurs: | ||
