Astuces de composition

formats d'entrée:
  • Filtered HTML:
    • Les adresses de pages web et de messagerie électronique sont transformées en liens automatiquement.
    • Tags HTML autorisés : <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://www.noirextreme.com">noirExtreme</a>noirExtreme
      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.
  • Textile:
    • Textile Help

      Block modifier syntax:

      CSS attributes can be applied to blocks (paragraphs, headers, etc.). CSS classes are specifed with "(class)"; CSS IDs are specified with "(#id)"; both can be specified with "(class#id)". An arbtirary CSS style can be applied by using "{style}". Finally, language attributes are applied using "[language]".

      Additionally, alignment and indentation shorthands are provided. To left-align, right-align, center, and justify text, use "<", ">", "=", and "<>", respectively. "(" left-indents a block 1em for each occurrence, and ")" right-indents similarly.

      Tables have additional options. "^", "-", and "~" specify top, middle, and bottom vertical alignment. The "_" attribute on a cell indicates that it is a table header.

      The examples below illustrate these attributes.

      textile input output

      Headings

      hx. (where x is 1 - 6)
      h1. Heading

      Heading

      h2(class). Heading with class

      Heading with class

      Paragraphs

      p=. Centered text

      Centered text

      p())(#id). Indented text with ID

      Indented text with ID

      Block quotes

      bq(class#id). Quote with class and ID
      Quote with class and ID
      bq[en]. English quote
      English quote

      Ordered lists

      {color: blue}# Attributes specified
      # before the first item
      # affect the whole list
      1. Attributes specified
      2. before the first item
      3. affect the whole list

      Unordered lists

      * Lists can have
      ## subitems or
      ## sublists
      * too
      • Lists can have
        1. subitems or
        2. sublists
      • too

      Footnotes

      fnx. (where x is 1 - 100)
      fn17. Footnote

      17 Footnote

      Tables

      |_. A|_. B|_. C|
      (dark). |very|simple|table|
      |<. left|=. center|>. right|
      |^{height:3em}. top|-. middle|~. bottom|
      A B C
      very simple table
      left center right
      top middle bottom

      Phrase modifier syntax:

      The class, ID, style, and language attributes described above also apply to the span phrase modifier as shown below.

      textile input output
      _emphasis_ emphasis
      __italic__ italic
      *strong* strong
      **bold** bold
      ??citation?? citation
      -delete text- deleted text
      +inserted text+ inserted text
      ^superscript^ superscript
      ~subscript~ subscript
      @code@ code
      %(class)span% span
      %{color:red;}span% span
      ==no textile== no textile
      "link text":url link text
      "link text(title)":url link text
      !imageurl!
      !imageurl(alt text)! alt text
      !imageurl!:url
      ABC(Always Be Closing) ABC
      Footnote reference[17] Footnote reference17
    • To add a lightbox to your images, add rel="lightbox" attribute to any link tag to activate the lightbox. For example:

      <a href="image-1.jpg" rel="lightbox">image #1</a>

      <a href="image-1.jpg" rel="lightbox[][my caption]">image #1</a>

      To show a caption either use the title attribute or put in the second set of square brackets of the rel attribute.

      If you have a set of related images that you would like to group, then you will need to include a group name between square brackets in the rel attribute. For example:

      <a href="image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
      <a href="image-2.jpg" rel="lightbox[roadtrip][caption 2]">image #2</a>
      <a href="image-3.jpg" rel="lightbox[roadtrip][caption 3]">image #3</a>

      There are no limits to the number of image sets per page or how many images are allowed in each set.

      If you wish to turn the caption into a link, format your caption in the following way:

      <a href="image-1.jpg" rel='lightbox[][<a href="http://www.yourlink.com">View Image Details</a>]' >image #1</a>