how-to block ads
(paste your code here)
xxx is the language of your code fragment, as it would typically be represented in a FILE EXTENSION. Some common extensions that will trigger syntax coloring are below. Replacing xxx in the example above with php, for example, will syntax color a php code fragment.
java - Java
perl - perl code
php - php code
h - c header file
registry - Windows registry export fragment
For the full list of supported languages, please see this FAQ entry - What languages are supported in syntax blocks
Note: Syntax blocks can be edited after the post has been made
Note: Syntax blocks will preview correctly. If they do not preview, they will not post correctly either.
Note: Syntax blocks cannot be AUTO-QUOTED, and should not be quoted manually
Note: The begin and end markers around a syntax block must be on their own lines and against the left margin