Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
fr:help:redaction [11/08/2021 17:47]
Hugo
fr:help:redaction [30/08/2021 19:01] (Version actuelle)
Hugo [Wrap Plugin]
Ligne 1: Ligne 1:
-https://developers.google.com/fonts/docs/material_icons +====== Guide de rédaction ======
-https://fontawesome.com/v5.15/how-to-use/on-the-web/referencing-icons/basic-use+
  
-====== Formatting Syntax ======+<WRAP center round todo 60%> 
 +Traduction de cette section en cours 
 +</WRAP>
  
-[[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.+ 
 +[[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page".
  
 ===== Basic Text Formatting ===== ===== Basic Text Formatting =====
Ligne 441: Ligne 443:
  
  
-===== Embedding HTML and PHP =====+===== Embedding HTML =====
  
-You can embed raw HTML or PHP code into your documents by using the ''%%<html>%%'' or ''%%<php>%%'' tags. (Use uppercase tags if you need to enclose block level elements.)+You can embed raw HTML into your documents by using the ''%%<html>%%'' tags. (Use uppercase tags if you need to enclose block level elements.)
  
 HTML example: HTML example:
  
-<code> +<code><html>
-<html>+
 This is some <span style="color:red;font-size:150%;">inline HTML</span> This is some <span style="color:red;font-size:150%;">inline HTML</span>
 </html> </html>
Ligne 463: Ligne 464:
 </HTML> </HTML>
  
-PHP example:+===== Icones =====
  
 +Il est possible d'intégrer les icones [[https://fonts.google.com/icons|Material ]] et [[https://fontawesome.com/v5.15/how-to-use/on-the-web/referencing-icons/basic-use|Font Awesome]] dans un article en utilisant leur syntaxe propres entre deux balise %%<html>%%. 
 +
 +Le code suivant pour les icones //Material// :
 <code> <code>
-<php> +<html><span class="material-icons">home</span></html>
-echo 'The PHP version: '; +
-echo phpversion(); +
-echo ' (generated inline HTML)'; +
-</php> +
-<PHP> +
-echo '<table class="inline"><tr><td>The same, but inside a block level element:</td>'; +
-echo '<td>'.phpversion().'</td>'; +
-echo '</tr></table>'; +
-</PHP>+
 </code> </code>
 +sera rendu comme suit : 
  
-<php> +<html><span class="material-icons">home</span></html>
-echo 'The PHP version: '; +
-echo phpversion(); +
-echo ' (inline HTML)'; +
-</php> +
-<PHP> +
-echo '<table class="inline"><tr><td>The same, but inside a block level element:</td>'; +
-echo '<td>'.phpversion().'</td>'; +
-echo '</tr></table>'; +
-</PHP>+
  
-**Please Note**HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed.+Le code suivant pour les icones //Font Awesome// : 
 +<code
 +<html><span class="fas fa-camera"></span></html> 
 +</code> 
 +sera rendu comme suit : 
  
 +<html><span class="fas fa-camera"></span></html>
 ===== RSS/ATOM Feed Aggregation ===== ===== RSS/ATOM Feed Aggregation =====
 [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http://simplepie.org/|SimplePie]] is used. All formats understood by SimplePie can be used in DokuWiki as well. You can influence the rendering by multiple additional space separated parameters: [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http://simplepie.org/|SimplePie]] is used. All formats understood by SimplePie can be used in DokuWiki as well. You can influence the rendering by multiple additional space separated parameters:
Ligne 522: Ligne 514:
 | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%<php>%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%<php>%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call |
  
-===== Syntax Plugins =====+===== Wrap Plugin ===== 
 + 
 +[[fr:help:wrap|wrap]] 
 + 
 +===== Formules mathématiques =====
  
-DokuWiki's syntax can be extended by [[doku>plugins|Plugins]]How the installed plugins are used is described on their appropriate description pagesThe following syntax plugins are available in this particular DokuWiki installation:+https://www.dokuwiki.org/plugin:mathjax
  
-~~INFO:syntaxplugins~~