Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing Code Blocks on a webpage
Message
De
28/06/2007 12:10:59
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
Information générale
Forum:
Internet
Catégorie:
Autre
Divers
Thread ID:
01236426
Message ID:
01236446
Vues:
12
>>I have always been curious as to how this is done...
>>
>>How do you show a code block on a webpage? For example, when you want to post code on UT, you wrap it in code blocks. How is this implemented?
>
>I believe the standard PRE and CODE HTML tags preserve original identation.
>The syntax coloring is done by the custom code in the parser itself, in the standard HTML there would not be any coloring.

I didn't realize there were standard HTML tags. I thought it was all done in a parser.

Thanks!
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform