Code

The @code directive gives a block of preformatted text to be displayed on a webpage. So for example the code:

@code
This is an example of using @code.

gives

This is an example of using @code.

Special characters are replaced by HTML entity codes in code sections.

< > and & are the special characters

If the lines in a @code section seem to be similarly indented that indentation is removed. This is a fudge so a @code section can list page source examples yet not have unnecessary spaces in the generated page.