Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
wiki:syntax [16/06/2020 19:13] – bonnet | wiki:syntax [17/06/2020 08:08] (Version actuelle) – bonnet | ||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
[[doku> | [[doku> | ||
+ | |||
+ | More advanced syntaxe is available from this documentation: | ||
===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
Ligne 29: | Ligne 31: | ||
You should use forced newlines only if really needed. | You should use forced newlines only if really needed. | ||
+ | |||
+ | ==== Alignement ==== | ||
+ | |||
+ | < | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | </ | ||
+ | |||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | <TEXT align=" | ||
+ | |||
+ | ==== Contextual colors ==== | ||
+ | |||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | <TEXT type=" | ||
+ | |||
+ | \\ | ||
+ | |||
+ | <code html5> | ||
+ | <text type=" | ||
+ | <text type=" | ||
+ | <text type=" | ||
+ | <text type=" | ||
+ | <text type=" | ||
+ | <text type=" | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ==== Text size ==== | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | <TEXT size=" | ||
+ | |||
+ | |||
+ | |||
+ | <code html5> | ||
+ | <text size=" | ||
+ | </ | ||
+ | |||
+ | Size attribute can be: | ||
+ | * medium | ||
+ | * xx-small | ||
+ | * x-small | ||
+ | * small | ||
+ | * large | ||
+ | * x-large | ||
+ | * xx-large | ||
+ | * smaller | ||
+ | * larger | ||
+ | * any length in px / percent / em / etc... | ||
===== Links ===== | ===== Links ===== | ||
Ligne 105: | Ligne 189: | ||
The whole [[# | The whole [[# | ||
+ | |||
+ | ===== Tooltip ===== | ||
+ | < | ||
+ | <tooltip title=" | ||
+ | </ | ||
+ | |||
+ | <tooltip title=" | ||
===== Footnotes ===== | ===== Footnotes ===== | ||
Ligne 111: | Ligne 202: | ||
You can add footnotes ((This is a footnote)) by using double parentheses. | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
+ | |||
+ | ===== Grid system ===== | ||
+ | You can use [[https:// | ||
+ | |||
+ | **Note:** Instead of < | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <col sm=" | ||
+ | <col sm=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Arguments is xs, sm, md, lg. | ||
+ | |||
+ | ===== Thumbnail ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | ... | ||
+ | <col xs=" | ||
+ | < | ||
+ | {{ wiki: | ||
+ | < | ||
+ | === DokuWiki ==== | ||
+ | |||
+ | //DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn' | ||
+ | </ | ||
+ | </ | ||
+ | ... | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | <col xs=" | ||
+ | < | ||
+ | {{ wiki: | ||
+ | < | ||
+ | === DokuWiki ==== | ||
+ | |||
+ | //DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn' | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <col xs=" | ||
+ | < | ||
+ | {{ wiki: | ||
+ | < | ||
+ | === DokuWiki ==== | ||
+ | |||
+ | //DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn' | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <col xs=" | ||
+ | < | ||
+ | {{ wiki: | ||
+ | < | ||
+ | === DokuWiki ==== | ||
+ | |||
+ | //DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn' | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
===== Sectioning ===== | ===== Sectioning ===== | ||
Ligne 127: | Ligne 285: | ||
---- | ---- | ||
+ | |||
+ | For beautiful sectionning, | ||
+ | < | ||
+ | < | ||
+ | ====== Hello, world! ====== | ||
+ | |||
+ | This is a simple hero unit, a simple jumbotron-style | ||
+ | component for calling extra attention to featured | ||
+ | content or information. | ||
+ | |||
+ | <btn type=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ====== Hello, world! ====== | ||
+ | |||
+ | This is a simple hero unit, a simple jumbotron-style | ||
+ | component for calling extra attention to featured | ||
+ | content or information. | ||
+ | |||
+ | <btn type=" | ||
+ | </ | ||
===== Media Files ===== | ===== Media Files ===== | ||
Ligne 183: | Ligne 364: | ||
{{wiki: | {{wiki: | ||
+ | === Image shape === | ||
+ | |||
+ | | <image shape=" | ||
+ | {{: | ||
+ | </ | ||
+ | | <image shape=" | ||
+ | {{: | ||
+ | </ | ||
+ | | <image shape=" | ||
+ | {{: | ||
+ | </ | ||
==== Fallback Formats ==== | ==== Fallback Formats ==== | ||
Ligne 302: | Ligne 494: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | More information on: [[https:// | ||
<uml> | <uml> | ||
Ligne 592: | Ligne 786: | ||
If you don't want any highlighting but want a downloadable file, specify a dash ('' | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
+ | |||
+ | ===== Tabs ===== | ||
+ | < | ||
+ | * [[# | ||
+ | * [[# | ||
+ | |||
+ | <pane id=" | ||
+ | === Foo === | ||
+ | Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
+ | </ | ||
+ | |||
+ | <pane id=" | ||
+ | === Bar === | ||
+ | Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | < | ||
+ | * [[# | ||
+ | * [[# | ||
+ | |||
+ | <pane id=" | ||
+ | === Foo === | ||
+ | Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
+ | </ | ||
+ | |||
+ | <pane id=" | ||
+ | === Bar === | ||
+ | Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
+ | </ | ||
+ | |||
+ | </ | ||
===== Embedding HTML and PHP ===== | ===== Embedding HTML and PHP ===== | ||
Ligne 673: | Ligne 899: | ||
| %%~~NOTOC~~%% | | %%~~NOTOC~~%% | ||
| %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
+ | | %%~~CLEARFIX~~%% | Clear the float | | ||
+ | | %%~~PAGEBREAK~~%% | Add a page break | | ||
===== Syntax Plugins ===== | ===== Syntax Plugins ===== |