wiki:syntax
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
wiki:syntax [2023/09/16 18:59] – créée - modification externe 127.0.0.1 | wiki:syntax [2023/12/10 13:08] (Version actuelle) – garder le titre en haut de page fred.th | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | ====== |
+ | Texte repris de https:// | ||
- | [[doku> | + | [[doku>fr: |
- | ===== Basic Text Formatting ===== | + | ===== Mise en forme de texte basique |
- | DokuWiki | + | DokuWiki |
- | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
- | Of course you can **__//'' | ||
- | You can use < | + | DokuWiki accepte les textes en **gras**, //italique//, __souligné__ et '' |
- | You can use <sub>subscript</ | + | Vous pouvez aussi utiliser des <sub>indices</ |
- | You can mark something as <del>deleted</del> as well. | + | Vous pouvez aussi utiliser des <sub>indices</sub> et < |
- | You can mark something as <del>deleted</ | + | De plus, vous pouvez marquer un passage comme <del>supprimé</ |
- | **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. | + | De plus, vous pouvez marquer un passage comme < |
- | This is some text with some linebreaks\\ Note that the | + | **Les paragraphes** sont créés à partir des lignes vides. Si vous souhaitez **forcer un saut de ligne** sans paragraphe, vous pouvez utiliser deux contre-obliques suivies par un espace ou une fin de ligne. |
- | two backslashes are only recognized at the end of a line\\ | + | |
- | or followed by\\ a whitespace \\this happens without it. | + | |
- | This is some text with some linebreaks\\ Note that the | + | Voici du texte avec des sauts de ligne\\ remarquez que les |
- | two backslashes are only recognized at the end of a line\\ | + | deux contre-obliques sont reconnues uniquement en fin de ligne\\ |
- | or followed by\\ a whitespace | + | ou suivies par\\ un espace ; \\ceci se produit sinon. |
- | You should use forced newlines only if really needed. | + | Voici du texte avec des sauts de ligne\\ remarquez que les |
+ | deux contre-obliques sont reconnues uniquement en fin de ligne\\ | ||
+ | ou suivies par\\ un espace ; \\ceci se produit sinon. | ||
- | ===== Links ===== | + | Vous ne devriez forcer des sauts de ligne que si c'est vraiment nécessaire. |
- | DokuWiki supports multiple ways of creating links. | + | ===== Liens ===== |
- | ==== External ==== | + | DokuWiki propose plusieurs moyens pour créer des liens. |
- | External links are recognized automagically: | + | ==== Externes ==== |
- | DokuWiki supports multiple ways of creating links. External links are recognized | + | Les liens externes sont reconnus automatiquement |
- | automagically: http:// | + | |
- | link text as well: [[http:// | + | |
- | addresses like this one: < | + | |
- | ==== Internal ==== | + | Les liens externes sont reconnus automatiquement : http:// |
+ | ou simplement www.google.fr - Vous pouvez aussi donner des noms aux | ||
+ | liens : [[http:// | ||
+ | de courriel comme celle-ci : < | ||
- | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | ||
- | Internal links are created by using square brackets. You can either just give | ||
- | a [[pagename]] or use an additional [[pagename|link text]]. | ||
- | [[doku> | + | ==== Internes ==== |
- | You can use [[some: | + | Les liens internes sont créés en utilisant des crochets. Vous pouvez juste utiliser un [[nom de page]] ou utiliser un [[nom de page|texte de lien]]. |
- | | + | |
+ | utiliser un [[nom de page]] ou utiliser un [[nom de page|texte de lien]]. | ||
- | For details about namespaces see [[doku>namespaces]]. | + | Les [[doku>fr: |
- | 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# | + | Vous pouvez utiliser les [[voici: |
- | | + | |
+ | les deux points dans le nom de page. | ||
- | Notes: | + | Pour plus de détails sur les catégories, |
- | | + | Les liens vers une section spécifique d'une page sont également possibles (voir la partie [[syntax# |
- | * DokuWiki | + | |
- | * When a section's heading is changed, its bookmark changes, too. So don't rely on section | + | Ce lien renvoie vers [[syntax# |
+ | |||
+ | Notes : | ||
+ | |||
+ | | ||
+ | * Par défaut, | ||
+ | * Lorsque le titre d'une section est modifié, alors son lien change aussi. Donc ne comptez pas trop sur les liens de section. | ||
==== Interwiki ==== | ==== Interwiki ==== | ||
- | DokuWiki supports | + | Les liens [[doku>fr: |
+ | Par exemple [[wpfr> | ||
- | | + | |
- | | + | |
- | ==== Windows | + | ==== Partages |
- | Windows | + | Les partages |
- | Windows | + | |
- | Notes: | + | Notes : |
- | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer | + | * Pour des raisons de sécurité, la navigation directe sur partages Windows ne fonctionne que dans //Microsoft Internet Explorer// par défaut |
- | * For Mozilla | + | * Pour //Mozilla// et //Firefox//, sans réglages, ça ne fonctionne pas. Voir [[http:// |
- | <?php | + | LANG.nosmblinks = ''; |
- | /** | + | |
- | * Customization of the english language file | + | |
- | * Copy only the strings that needs to be modified | + | |
- | */ | + | |
- | $lang[' | + | |
</ | </ | ||
- | ==== Image Links ==== | + | ==== Liens images |
- | You can also use an image to link to another internal or external | + | 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 et autres fichiers|images]] (voir plus bas) comme ceci : |
- | [[http:// | + | [[http://www.php.net|{{wiki: |
- | [[http:// | + | [[http://www.php.net|{{wiki: |
- | Please note: The image formatting is the only formatting syntax accepted in link names. | + | NB : la mise en forme image est la seule syntaxe de mise en forme acceptée comme nom de lien. |
- | The whole [[#images_and_other_files|image]] | + | la totalité des syntaxes d'[[#Images et autres fichiers|image]] |
- | ===== Footnotes | + | ===== Notes de pied de page ===== |
- | You can add footnotes | + | Vous pouvez ajouter des notes de pied de page ((Ceci est une note de pied de page)) en utilisant des parenthèses doubles. |
- | | + | |
- | ===== Sectioning ===== | ||
- | 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 ''< | + | ===== Découpage en sections ===== |
- | ==== Headline Level 3 ==== | + | Vous pouvez utiliser jusqu' |
- | === Headline Level 4 === | + | ''< |
- | == Headline Level 5 == | + | |
- | ==== Headline Level 3 ==== | ||
- | === Headline Level 4 === | ||
- | == Headline Level 5 == | ||
- | By using four or more dashes, you can make a horizontal line: | ||
- | ---- | + | ==== Titre niveau 3 ==== |
+ | === Titre niveau 4 === | ||
+ | == Titre niveau 5 == | ||
- | ===== Media Files ===== | + | |
+ | === Titre niveau 4 === | ||
+ | == Titre niveau 5 == | ||
+ | |||
+ | En utilisant quatre tirets ou plus, vous pouvez créer une ligne horizontale : | ||
+ | |||
+ | ---- | ||
+ | \\ | ||
+ | < | ||
+ | ===== Images et autres fichiers | ||
- | You can include external and internal | + | Vous pouvez insérer des [[doku>fr:images|images, |
+ | |||
+ | taille originale : | ||
- | Real size: {{wiki: | + | largeur donnée |
- | Resize to given width: {{wiki: | + | hauteur et largeur données((Si les proportions de l' |
- | Resize to given width and height((when the aspect ratio of the given width and height doesn' | + | Image externe redimensionnée |
- | Resized external image: {{https://secure.php.net/ | + | taille originale |
+ | largeur donnée : {{wiki: | ||
+ | hauteur et largeur données : {{wiki: | ||
+ | Image externe redimensionnée : {{http://de3.php.net/ | ||
- | Real size: {{wiki: | ||
- | Resize to given width: | ||
- | Resize to given width and height: {{wiki: | ||
- | Resized external image: {{https:// | ||
+ | Par défaut les images se placent au fil du texte, centrées verticalement. | ||
- | By using left or right whitespaces you can choose the alignment. | + | Vous pouvez les aligner avec des espaces à gauche ou à droite : |
{{ wiki: | {{ wiki: | ||
Ligne 157: | Ligne 164: | ||
{{ wiki: | {{ wiki: | ||
- | Of course, you can add a title (displayed as a tooltip by most browsers), too. | + | Bien sûr, vous pouvez |
- | {{ wiki: | + | {{ wiki: |
- | {{ wiki: | + | {{ wiki: |
- | For linking an image to another page see [[#Image Links]] above. | + | ------ |
- | ==== Supported Media Formats ==== | + | Les fichiers qui ne sont pas affichables (voir tableau des médias pris en charge dans la [[#Médias pris en charge|section suivante]]), |
- | DokuWiki can embed the following media formats directly. | + | Vous pouvez modifier ce comportement : |
- | | Image | '' | + | {{wiki: |
- | | Video | '' | + | {{wiki: |
- | | Audio | '' | + | {{wiki: |
- | | Flash | '' | + | [[http:// |
- | If you specify a filename that is not a supported | + | {{wiki: |
+ | {{wiki: | ||
+ | {{wiki: | ||
+ | [[http:// | ||
- | By adding ''? | ||
- | {{wiki:dokuwiki-128.png? | + | Vous pouvez combiner plusieurs effets avec ''&'' |
- | {{wiki: | + | {{wiki: |
+ | {{wiki: | ||
- | ==== Fallback Formats | + | ==== Médias pris en charge |
- | 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. | + | DokuWiki peut directement présenter les formats |
- | For example consider this embedded | + | ^ Image | '' |
+ | ^ Vidéo | ||
+ | ^ Audio | '' | ||
+ | ^ Flash | '' | ||
- | {{video.mp4|A funny video}} | + | Si vous indiquez un fichier dans un format non pris en charge, DokuWiki le présentera comme un lien de téléchargement. |
- | When you upload a '' | + | ==== Formats de repli ==== |
- | Additionally DokuWiki supports a " | + | Malheureusement, |
- | ===== Lists ===== | + | Par exemple, si vous avez téléversé '' |
- | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | + | {{film.mp4|une vidéo sympa}} |
- | * This is a list | + | DokuWiki indiquera automatiquement les alternatives '' |
- | * The second item | + | |
- | * You may have different levels | + | |
- | * Another item | + | |
- | | + | De plus, DokuWiki permet d' |
- | | + | |
- | - Just use indention for deeper levels | + | |
- | - That's it | + | ===== Listes ===== |
+ | |||
+ | DokuWiki accepte 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 '' | ||
+ | |||
+ | | ||
+ | * Le second élément | ||
+ | | ||
+ | * Un autre élément | ||
+ | |||
+ | | ||
+ | - Un autre élément | ||
+ | - Utilisez simplement l'indentation pour des niveaux plus profonds | ||
+ | - Et voilà | ||
< | < | ||
- | * This is a list | + | * Ceci est une liste |
- | * The second | + | * Le second |
- | * You may have different levels | + | * Vous pouvez avoir plusieurs niveaux |
- | * Another item | + | * Un autre élément |
- | - The same list but ordered | + | - La même liste mais ordonnée |
- | - Another item | + | - Un autre élément |
- | - Just use indention for deeper levels | + | - Utilisez simplement l' |
- | - That's it | + | - Et voilà |
</ | </ | ||
- | Also take a look at the [[doku> | + | Vous pouvez aussi consulter notre [[doku>fr:faq: |
- | ===== Text Conversions ===== | + | ===== Conversions |
- | DokuWiki | + | DokuWiki |
- | The text to image conversion is mainly done for smileys. | + | Les conversions en image sont principalement utilisée pour les émoticônes (//smileys//). Les conversions en texte ou HTML sont utilisées pour des raisons de typographie, mais peuvent également être configurées pour utiliser d' |
- | ==== Text to Image Conversions | + | ==== Emoticônes (smileys) |
- | DokuWiki | + | DokuWiki |
* 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
Ligne 247: | Ligne 269: | ||
* ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
* ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
- | * m( %% m( %% | ||
* :?: %% :?: %% | * :?: %% :?: %% | ||
* :!: %% :!: %% | * :!: %% :!: %% | ||
Ligne 254: | Ligne 275: | ||
* DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
- | ==== Text to HTML Conversions | + | ==== Typographie |
- | Typography: | + | [[doku> |
-> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
Ligne 266: | Ligne 287: | ||
</ | </ | ||
- | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> | + | Il est possible de faire la même chose pour n' |
- | There are three exceptions | + | Il existe trois exceptions |
- | ===== Quoting | + | ===== Citations |
- | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | + | Parfois vous souhaitez marquer du texte afin de montrer que c'est une réponse ou un commentaire. Vous pouvez utiliser la syntaxe suivante |
- | <code> | + | Je pense que nous devrions le faire |
- | I think we should do it | + | |
+ | | ||
+ | |||
+ | >> Eh bien, je pense que si | ||
+ | |||
+ | > Vraiment ? | ||
+ | |||
+ | >> Oui ! | ||
+ | |||
+ | >>> | ||
- | > No we shouldn' | + | Je pense que nous devrions le faire |
- | >> Well, I say we should | + | > Non nous ne devrions pas |
- | > Really? | + | >> Eh bien, je pense que si |
- | >> Yes! | + | > Vraiment ? |
- | >>> Then lets do it! | + | >> |
- | </ | + | |
- | I think we should do it | + | >>> |
- | > No we shouldn' | + | ===== Tableaux ===== |
- | >> Well, I say we should | + | DokuWiki propose une syntaxe simple pour créer des tableaux. |
- | > Really? | + | ^ 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 | | ||
- | >> Yes! | + | Les lignes de tableau doivent commencer et se terminer avec une //barre verticale// '' |
- | >>> | + | ^ 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 | | ||
- | ===== Tables ===== | + | Pour fusionner des cellules horizontalement, |
- | DokuWiki supports a simple syntax to create tables. | + | Les titres de tableau verticaux sont également possibles. |
- | ^ Heading | + | | |
- | | Row 1 Col 1 | Row 1 Col 2 | + | ^ Titre 3 | Ligne 1 Col 2 |
- | | Row 2 Col 1 | some colspan (note the double pipe) || | + | ^ Titre 4 |
- | | Row 3 Col 1 | + | ^ Titre 5 |
- | Table rows have to start and end with a '' | + | Comme vous pouvez le constater, c'est le séparateur (' |
- | ^ Heading | + | |
- | | Row 1 Col 1 | Row 1 Col 2 | + | ^ Titre 3 |
- | | Row 2 Col 1 | some colspan (note the double pipe) || | + | ^ Titre 4 |
- | | Row 3 Col 1 | + | ^ Titre 5 |
- | To connect cells horizontally, | + | Vous pouvez fusionner des cellules verticalement en ajoutant ::: dans les cellules sous celles avec laquelle elles doivent fusionner. |
+ | :!: Cette fonctionnalité n'est disponible que pour les versions supérieures à 2009-02-14b | ||
- | Vertical tableheaders are possible, too. | + | ^ Titre 1 ^ Titre 2 ^ Titre 3 ^ |
+ | | Ligne 1 Col 1 | Cette cellule s' | ||
+ | | Ligne 2 Col 1 | ::: | Ligne 2 Col 3 | | ||
+ | | Ligne 3 Col 1 | ::: | Ligne 3 Col 3 | | ||
- | | ^ Heading 1 ^ Heading 2 ^ | + | Ces cellules ne doivent rien contenir d' |
- | ^ 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: | + | ^ Titre 1 ^ Titre 2 ^ Titre 3 ^ |
+ | | Ligne 1 Col 1 | Cette cellule | ||
+ | | Ligne 2 Col 1 | ::: | Ligne 2 Col 3 | | ||
+ | | Ligne 3 Col 1 | ::: | Ligne 3 Col 3 | | ||
- | | ^ Heading 1 ^ Heading 2 ^ | + | Vous pouvez également aligner horizontalement les contenus du tableau. Ajoutez simplement au moins deux espaces à l' |
- | ^ 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 '' | + | DokuWiki ne propose aucun moyen de réaliser un centrage vertical. |
- | ^ Heading 1 | + | ^ |
- | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | + | | |
- | | Row 2 Col 1 | ::: | Row 2 Col 3 | | + | |gauche |
- | | Row 3 Col 1 | + | |
- | + | ||
- | 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 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 | right| | + | |
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | This is how it looks in the source: | + | Voici à quoi ça ressemble dans le code source : |
- | ^ Table with alignment | + | ^ |
- | | right| | + | | |
- | |left | + | |gauche |
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | Note: Vertical alignment is not supported. | ||
- | ===== No Formatting | + | ===== Blocs non analysés |
- | If you need to display text exactly like it is typed (without any formatting), enclose the area either with '' | + | Si vous avez besoin d' |
< | < | ||
- | This is some text which contains addresses like this: http:// | + | Voilà du texte qui contient une adresse |
+ | il est reproduit tel quel. | ||
</ | </ | ||
- | The same is true for %%//__this__ text// with a smiley | + | La même chose est vraie pour |
< | < | ||
- | | + | |
+ | il est reproduit tel quel. | ||
</ | </ | ||
- | | + | |
+ | < | ||
- | ===== Code Blocks ===== | ||
- | You can include | + | ===== Blocs de code ===== |
- | This is text is indented by two spaces. | + | Vous pouvez inclure des blocs non analysés dans vos documents soit en les indentant avec au moins deux espaces (comme on peut le voir dans les exemples précédents) soit en utilisant les balises '' |
+ | |||
+ | Ce texte est indenté avec deux espaces. | ||
< | < | ||
- | This is preformatted | + | Ceci est du code préformaté, |
+ | comme <- ceci | ||
</ | </ | ||
< | < | ||
- | This is pretty much the same, but you could use it to show that you quoted a file. | + | C'est pratiquement la même chose, mais vous pouvez l' |
+ | que vous avez cité un fichier. | ||
</ | </ | ||
- | Those blocks were created by this source: | + | Ce texte est indenté avec deux espaces. |
- | + | ||
- | This is text is indented by two spaces. | + | |
< | < | ||
- | | + | |
+ | comme <- ceci | ||
</ | </ | ||
+ | | ||
< | < | ||
- | | + | |
+ | que vous avez cité un fichier. | ||
</ | </ | ||
- | ==== Syntax Highlighting ==== | ||
- | [[wiki: | + | ==== Coloration syntaxique ==== |
+ | |||
+ | [[doku>fr:dokuwiki|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(" |
} | } | ||
} | } | ||
</ | </ | ||
- | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 | + | DokuWiki reconnait les identifiants de langage suivants |
- | There are additional [[doku> | ||
- | ==== Downloadable Code Blocks ==== | + | D' |
- | When you use the '' | ||
- | < | + | |
- | <file php myexample.php> | + | ==== Bloc de code téléchargeables ==== |
+ | |||
+ | |||
+ | Quand vous utilisez les balises //%%< | ||
+ | |||
+ | <file php monexemple.php> | ||
<?php echo "hello world!"; | <?php echo "hello world!"; | ||
</ | </ | ||
+ | |||
+ | <file php monexemple.php> | ||
+ | <?php echo "hello world!"; | ||
+ | </ | ||
+ | |||
+ | Si vous ne voulez pas de coloration syntaxique, il suffit de fournir un tiret (-) en guise de code de langage :\\ | ||
+ | '' | ||
+ | |||
+ | ===== Inclure du code HTML ou PHP ===== | ||
+ | |||
+ | Vous pouvez inclure du code HTML ou PHP pur dans vos documents en utilisant les balises '' | ||
+ | |||
+ | exemple HTML : | ||
+ | |||
+ | < | ||
+ | Ceci est < | ||
+ | </ | ||
+ | |||
+ | Quant à < | ||
+ | <p style=" | ||
+ | </ | ||
</ | </ | ||
- | <file php myexample.php> | + | Ceci est < |
- | <?php echo "hello world!"; | + | </ |
- | </file> | + | |
+ | Quant à < | ||
+ | <p style=" | ||
+ | </ | ||
+ | |||
+ | exemple PHP : | ||
+ | |||
+ | < | ||
+ | <php> | ||
+ | echo ' | ||
+ | echo phpversion(); | ||
+ | echo ' (HTML en ligne généré)'; | ||
+ | </ | ||
+ | < | ||
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <php> | ||
+ | echo ' | ||
+ | echo phpversion(); | ||
+ | echo ' (HTML en ligne généré)'; | ||
+ | </php> | ||
+ | < | ||
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </PHP> | ||
- | If you don't want any highlighting but want a downloadable file, specify a dash ('' | + | **NB** |
- | ===== RSS/ | + | ===== Agrégation de fils RSS/ATOM ===== |
- | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | + | |
- | ^ Parameter | + | [[doku> |
- | | 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: | + | ^ Paramètre |
+ | | tout nombre | sera utilisé comme le nombre maximum d' | ||
+ | | reverse | ||
+ | | author | ||
+ | | date | affiche les dates des éléments | | ||
+ | | description | affiche les descriptions des éléments. Si [[doku>fr:config: | ||
+ | | nosort | ||
+ | | //n//[dhm] | durée de rafraîchissement, | ||
- | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | + | La période de rafraîchissement est par défaut de 4 heures. Toute valeur inférieure à 10 minutes sera traitée comme 10 minutes. [[doku> |
- | **Example:** | + | **Exemple |
{{rss> | {{rss> | ||
Ligne 461: | Ligne 541: | ||
- | ===== Control | + | ===== Macros ===== |
- | Some syntax influences how DokuWiki | + | Certains mots-clef modifient la manière dont DokuWiki |
^ Macro ^ Description | | ^ Macro ^ Description | | ||
- | | %%~~NOTOC~~%% | + | | %%~~NOTOC~~%% |
- | | %%~~NOCACHE~~%% | DokuWiki | + | | %%~~NOCACHE~~%% | Par défaut, |
- | ===== Syntax Plugins | + | ===== Extensions de syntaxe |
- | DokuWiki's syntax can be extended by [[doku> | + | La syntaxe de DokuWiki |
~~INFO: | ~~INFO: | ||
wiki/syntax.1694883591.txt.gz · Dernière modification : 2023/09/16 18:59 de 127.0.0.1