It is sometimes necessary to display code in a preformatted way with a nice (white) background.
Table of Contents
This can be achieved simply by using a standard field which does not escape to HTML (ex. Editor Field) and the pre CSS class as in the example bellow:
pre
The result will look like this: