>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.
If it's not broken, fix it until it is.
My Blog