This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Come faccio a mantenere spazi e indentazione?#

Se viene postato del testo che contiene spazi, anche in un blocco "code", gli spazi vengono trimmati. Come è possibile evitare questo comportamento? Esempio: Codice wiki:

__Ciao         a             tutti__
Risultato: Ciao a tutti

Oppure:

%%quote 
__Ciao         a             tutti__
/%
Risultato: Ciao a tutti


E' possiblie usare il blocco

    %%prettify
    {{
        some code block 
    }}
    /%

Esempio (ATTENZIONE: ho tolto una graffa per evitare errori di interpretazione) Codice wiki

    %%prettify 
    {{
    __Ciao         a               tutti___
    __Sono         incolonnato     correttamente___
    }}
    /%
Risultato:
    __Ciao         a               tutti___
    __Sono         incolonnato     correttamente___

--m.sanfilippo, 07-Jan-2009 09:16

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 14-Apr-2010 14:30 by m.sanfilippo.