Archives de la Catégorie : Non classé

reStructuredText

 

Génération de code HTML avec ‘rst2html’

Un exemple de liste :

  1. Premier paragraphe
  1. Premier sous-élement

    Contenu…

  2. Second sous-élement

    Suite du contenu

  3. Troisième sous-élement

    Contenu…

  1. Deuxième paragraphe

    Ceci est un test…

  2. Troisième paragraphe avec bullets

  • Premier sous-élement
  • Second sous-élement

Un exemple de tableau :

titre 1 titre 2 titre 3
case 1 case 4
case 2
case 5 case 6
case 3

différents styles de texte :

important, très important, code source, etc.

Documentation complète: http://docutils.sourceforge.net/docs/user/rst/quickref.html

Dédicace

Authors:

Tony J. (Tibs) Ibbs,
David Goodger

(and sundry other good-natured folks)

Version:

1.0 of 2001/08/08

Dedication:

To my father.

Usage d’une commande

-a command-line option « a »
-b file options can have arguments
and long descriptions
--long options can be long also
--input=file long options can also have
arguments
/V DOS/VMS-style options too

Note

Autonumbered footnotes are possible, like using [1] and [2].

[1] This is the first one.
[2] This is the second one.

They may be assigned ‘autonumber labels’ – for instance, [4] and [3].

[3] a.k.a. third
[4] a.k.a. fourth