Astuces de composition

formats d'entrée:
  • Filtered HTML:
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>

      Ce site autorise le contenu HTML. Alors qu'appendre tout l'HTML pourrait intimider, apprendre à utiliser un nombre très restreint des "balises" HTML les plus basiques est très facile. Ce tableau fournit des exemples pour chaque balise qui est autorisée sur ce site.

      Pour plus d'information voir les spécifications HTML du W3C ou utilisez votre moteur de recherche préféré pour trouver d'autres sites qui expliquent le code HTML.

      Description de la baliseVous entrezVous obtenez
      Les ancres sont utilisées pour établir des liens vers d'autres pages.<a href="http://anothergeekwebsite.com">AnotherGeekWebsite</a>AnotherGeekWebsite
      Accentué<em>Accentué</em>Accentué
      Fort<strong>Fort</strong>Fort
      Citation<cite>Citation</cite>Citation
      Text codé pour afficher du code de programmation<code>Codé</code>Codé
      Liste non ordonnée - utilisez <li> pour débuter chaque élément de la liste<ul> <li>Premier élément</li> <li>Second élément</li> </ul>
      • Premier élément
      • Second élément
      Liste ordonnée - utilisez <li> pour débuter chaque élément de la liste<ol> <li>Premier élément</li> <li>Second élément</li> </ol>
      1. Premier élément
      2. Second élément
      Les listes de définition sont similaires aux autres listes HTML. <dl> délimite la liste de définitions, <dt> délimite le terme à définir <dd> délimite la définition proprement dite.<dl> <dt>Premier terme</dt> <dd>Première définition</dd> <dt>Second terme</dt> <dd>Seconde définition</dd> </dl>
      Premier terme
      Première définition
      Second terme
      Seconde définition

      La plupart des caractères non usuels peuvent être entrés sans problème.

      Si vous rencontrez des problèmes, essayez d'utiliser les entités HTML. Un exemple courant est &amp; pour le et commercial &. Pour une liste complète des entités voyez la page entités HTML du W3C. Voici quelques caractères disponibles :

      Description du caractèreVous entrezVous obtenez
      Et commercial&amp;&
      Supérieur&gt;>
      Inférieur&lt;<
      Marque de citation&quot;"
    • Les lignes et les paragraphes sont reconnus automatiquement. Les balises <br /> saut de ligne, <p> paragraphe et </p> fin de paragraphe sont insérées automatiquement.Si les paragraphes ne sont pas reconnus ajoutez simplement quelques lignes vides.
  • Full HTML:
    • Les adresses de pages web et de messagerie électronique sont transformées en liens automatiquement.
    • Syntax highlighting of source code can be enabled with the following tags:

      • Generic syntax highlighting tags: "<code>", "<blockcode>", "<pre>".
      • Language specific syntax highlighting tags: .

      Options and tips:

      • The language for the generic syntax highlighting tags can be specified with one of the attribute(s): type, lang, language, class. The possible values are: "bash" (for Bash), "c" (for C), "cpp" (for C++), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "ini" (for INI), "java" (for Java), "javascript" (for Javascript), "php" (for PHP), "python" (for Python), "ruby" (for Ruby), "xml" (for XML).
      • The supported tag styles are: <foo>, [foo].
      • Line numbering can be enabled/disabled with the attribute "linenumbers". Possible values are: "off" for no line numbers, "normal" for normal line numbers and "fancy" for fancy line numbers (every nth line number highlighted). The start line number can be specified with the attribute "start", which implicitly enables normal line numbering. For fancy line numbering the interval for the highlighted line numbers can be specified with the attribute "fancy", which implicitly enables fancy line numbering.
      • If the source code between the tags contains a newline (e.g. immediatly after the opening tag), the highlighted source code will be displayed as a code block. Otherwise it will be displayed inline.

      Defaults:

      • Default highlighting mode for generic syntax highlighting tags: when no language attribute is specified, no syntax highlighting will be done.
      • Default line numbering: no line numbers.

      Exemples:

      You typeYou get
      <code>foo = "bar";</code>Inline code with the default syntax highlighting mode.
      <code>
      foo = "bar";
      baz = "foz";
      </code>
      Code block with the default syntax highlighting mode.
      <code lang="php" linenumbers="normal">
      foo = "bar";
      baz = "foz";
      </code>
      Code block with syntax highlighting for PHP source code
      and normal line numbers.
      <code language="php" start="23" fancy="7">
      foo = "bar";
      baz = "foz";
      </code>
      Code block with syntax highlighting for PHP source code,
      line numbers starting from 23
      and highlighted line numbers every 7th line.