Regole di formattazione del testo

Lascia una riga vuota tra i paragrafi. Usa [[BR]] per forzare l'a-capo in un paragrafo.

Puoi visuazzare del testo in corsivo oppure in grassetto. Per scrivere in corsivo, racchiudi il testo in doppi apici. Per scrivere in grassetto, delimita il testo con tre apici. Per ottenere del testo spostato in alto, racchiudilo con due caratteri "^".

Per inserire del testo senza che sia riformattato con un carattere a spaziatura fissa, ad esempio il sorgente di un programma, usa tre parentesi graffe consecutive:

10 PRINT "Hello, world!"
20 GOTO 10

Note that within code sections, both inline and display ones, any wiki markup is ignored. An alternative and shorter syntax for inlined code is to use backtick characters (note that this can be disabled by the site's configuration, but is enabled by default).

For more information on the possible markup, see HelpOnEditing.

Example

Mixing ''italics'' and '''bold''':
 * '''''Mix''' at the beginning''
 * '''''Mix'' at the beginning'''
 * '''Mix at the ''end'''''
 * ''Mix at the '''end'''''

You might recall ''a''^2^ `+` ''b''^2^ `=` ''c''^2^ from your math lessons.

An { { {inline code sequence} } } has the start and end markers on the same line. Or you use `backticks`.

A code display has them on different lines: { { {
'''No''' markup here!
} } }

/!\ In the above example, we "escaped" the markers for source code sequences by inserting spaces between the curly braces.

Display

Mixing italics and bold:

You might recall a2 + b2 = c2 from your math lessons.

An inline code sequence has the start and end markers on the same line. Or you use backticks.

A code display has them on different lines:

'''No''' markup here!

Colorized code displays

There are several ways to get colorized formatting of Python code1:

  1. start a code display with a line only containing "#!python"
  2. embed a file attachment bearing a ".py" extension via "inline:"
  3. start a page with a Python format processing instruction ("#format python")

Example:

   1 from colors import palette
   2 palette.colorize('python')
  1. There is currently no support for languages other than Python. (1)

AiutoSuFormattazione (last edited 2008-05-22 22:16:40 by anonymous)