It is sometimes necessary to display code in a preformatted way with a nice
(white) background.
Table of Contents
How to do¶
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:
The result will look like this:
Related Articles¶