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édenteDernière révisionLes deux révisions suivantes | ||
wiki:syntax [2021/06/22 18:25] – [Pas de formatage] admin | wiki:syntax [2021/06/22 21:02] – [Syntax Plugins] admin | ||
---|---|---|---|
Ligne 351: | Ligne 351: | ||
Il en est de même pour %%//__ce__ texte// avec un smiley ;-)%%. | Il en est de même pour %%//__ce__ texte// avec un smiley ;-)%%. | ||
- | ===== Code Blocks | + | ===== Blocs de code ===== |
- | You can include | + | Vous pouvez inclure des blocs de code dans vos documents |
- | | + | |
< | < | ||
- | This is preformatted | + | Il s'agit de code préformaté, |
</ | </ | ||
< | < | ||
- | This is pretty much the same, but you could use it to show that you quoted a file. | + | C'est à peu près la même chose, mais vous pouvez l' |
</ | </ | ||
- | Those blocks were created by this source: | + | Ces blocs ont été créés par cette source : |
- | This is text is indented by two spaces. | + | Ce texte est indenté par deux espaces. |
< | < | ||
- | | + | |
</ | </ | ||
< | < | ||
- | | + | |
</ | </ | ||
- | ==== Syntax Highlighting | + | ==== Coloration syntaxique |
- | [[wiki: | + | [[wiki: |
<code java> | <code java> | ||
Ligne 393: | Ligne 393: | ||
</ | </ | ||
- | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots roff rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql sshconfig standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch wolfram xbasic xml xojo xorg_conf xpp yaml z80 zxbasic// | + | Les langages suivants sont actuellement reconnus: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots roff rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql sshconfig standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch wolfram xbasic xml xojo xorg_conf xpp yaml z80 zxbasic// |
- | There are additional | + | Des [[doku> |
- | ==== Downloadable Code Blocks | + | ==== Blocs de code téléchargeables |
- | When you use the '' | + | Lorsque vous utilisez la syntaxe |
< | < | ||
Ligne 411: | Ligne 411: | ||
</ | </ | ||
- | If you don't want any highlighting but want a downloadable file, specify a dash ('' | + | Si vous ne voulez pas de surbrillance mais voulez un fichier téléchargeable, spécifiez un tiret ('' |
- | ===== Embedding | + | ===== Intégration de HTML et PHP ===== |
- | You can embed raw HTML or PHP code into your documents | + | Vous pouvez intégrer du code HTML ou PHP brut dans vos documents |
- | HTML example: | + | Exemple HTML : |
< | < | ||
Ligne 435: | Ligne 435: | ||
</ | </ | ||
- | PHP example: | + | Exemple PHP : |
< | < | ||
Ligne 461: | Ligne 461: | ||
</ | </ | ||
- | **Please Note**: | + | <WRAP center round info 60%> |
+ | L' | ||
+ | </ | ||
- | ===== RSS/ATOM Feed Aggregation ===== | ||
- | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | + | ===== Agrégation de flux RSS/ATOM ===== |
- | ^ Parameter | + | [[DokuWiki]] peut intégrer des données provenant de flux XML externes. Pour analyser les flux XML, [[http://simplepie.org/|SimplePie]] est utilisé. Tous les formats compris par SimplePie peuvent également être utilisés dans DokuWiki. Vous pouvez influencer le rendu par plusieurs paramètres supplémentaires séparés par des espaces : |
- | | 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. If [[doku> | + | |
- | | 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: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: | + | ^ Paramètre ^ Description ^ |
+ | | n' | ||
+ | | reverse | ||
+ | | author | ||
+ | | date | afficher les dates des articles | | ||
+ | | description| afficher la description de l' | ||
+ | | nosort | ||
+ | | //n//[dhm] | période 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 d' |
- | **Example:** | + | Par défaut, le flux sera trié par date, les articles les plus récents en premier. Vous pouvez le trier par le plus ancien en premier en utilisant le paramètre '' |
+ | |||
+ | **Exemple:** | ||
{{rss> | {{rss> | ||
Ligne 488: | Ligne 491: | ||
===== Control Macros ===== | ===== Control Macros ===== | ||
- | Some syntax influences how DokuWiki | + | Certaines syntaxes influencent la façon dont DokuWiki |
^ Macro ^ Description | | ^ Macro ^ Description | | ||
- | | %%~~NOTOC~~%% | + | | %%~~NOTOC~~%% |
- | | %%~~NOCACHE~~%% | DokuWiki | + | | %%~~NOCACHE~~%% | DokuWiki |
===== Syntax Plugins ===== | ===== Syntax Plugins ===== | ||
- | DokuWiki's syntax can be extended by [[doku> | + | La syntaxe de DokuWiki |
~~INFO: | ~~INFO: | ||