Ti trovi quiCompose tips

Compose tips


  • Indirizzi web o e-mail vengono trasformati in link automaticamente
  • Elementi HTML permessi: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h4>

    Questo sito consente l'uso di contenuto HTML. Se imparare tutto l'HTML può spaventare, imparare a usare un piccolo numero di elementi HTML di base è molto semplice. Questa tabella fornisce un esempio per ogni elemento attivo su questo sito.

    Per maggiori informazioni, vedi le Specifiche HTML del W3C o utilizza il tuo motore di ricerca preferito per trovare un altro sito che spieghi l'HTML.

    Descrizione elementoCosa scriviCosa vedi
    Le ancore servono a creare collegamenti ad altre pagine.<a href="http://www.playlinux.net">Playlinux</a>Playlinux
    Enfatizzato<em>Enfatizzato</em>Enfatizzato
    Evidenziato<strong>Evidenziato</strong>Evidenziato
    Citazione<cite>Citazione</cite>Citazione
    Testo codice utilizzato per mostrare il codice sorgente dei programmi<code>Codice</code>Codice
    Elenco non ordinato - utilizza <li> all'inizio di ogni voce dell'elenco<ul> <li>Prima voce</li> <li>Seconda voce</li> </ul>
    • Prima voce
    • Seconda voce
    Elenco ordinato - utilizza <li> all'inizio di ogni voce dell'elenco<ol> <li>Prima voce</li> <li>Seconda voce</li> </ol>
    1. Prima voce
    2. Seconda voce
    Gli elenchi definizione sono simili agli altri elenchi HTML. <dl> inizia l'elenco definizione, <dt> inizia il termine da definire e <dd> inizia la descrizione della definizione.<dl> <dt>Primo termine</dt> <dd>Prima definizione</dd> <dt>Secondo termine</dt> <dd>Seconda definizione</dd> </dl>
    Primo termine
    Prima definizione
    Secondo termine
    Seconda definizione
    Intestazione<h4>Sottotitolo quattro</h4>

    Sottotitolo quattro

    La maggior parte dei caratteri inusuali può essere inserita direttamente senza problemi.

    Se incontri problemi, prova a utilizzare le entità carattere HTML. Un esempio comune può essere &amp; per il carattere e commerciale &. Per un elenco completo delle entità vedi la pagina entità dell'HTML. I caratteri disponibili includono:

    Descrizione carattereCosa scriviCosa vedi
    E commerciale&amp;&
    Maggiore di&gt;>
    Minore di&lt;<
    Virgolette&quot;"
  • Le linee e i paragrafi vengono riconosciuti automaticamente. Gli elementi <br /> a capo, <p> paragrafo e </p> chiuso paragrafo vengono inseriti automaticamente. Se i paragrafi non vengono riconosciuti è sufficiente aggiungere un paio di linee vuote.
  • Syntax highlighting of source code can be enabled with the following tags:

    • Generic syntax highlighting tags: "<code>".
    • Language specific syntax highlighting tags: "<bash>" for Bash source code.

    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).
    • 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: normal line numbers.

    Examples:

    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="bash" linenumbers="normal">
    foo = "bar";
    baz = "foz";
    </code>
    Code block with syntax highlighting for Bash source code
    and normal line numbers.
    <code language="bash" start="23" fancy="7">
    foo = "bar";
    baz = "foz";
    </code>
    Code block with syntax highlighting for Bash source code,
    line numbers starting from 23
    and highlighted line numbers every 7th line.
    <bash>
    foo = "bar";
    baz = "foz";
    </bash>
    Code block with syntax highlighting for Bash source code.
    <bash start="23" fancy="7">
    foo = "bar";
    baz = "foz";
    <bash>
    Code block with syntax highlighting for Bash source code,
    line numbers starting from 23
    and highlighted line numbers every 7th line.