<preamble>

In a <program>, the <preamble> tag holds text that comes before the main <code> block. It is useful for imports, helper definitions, or setup code that belongs with the listing.

A <program> may use <preamble>, <code>, and <postamble> together to show distinct parts of a program.

Syntax

Attributes

Attributes for <preamble>
AttributeRequired?Values
visible = "…"optional"yes""no"

Children

The following may appear as children: Text

Parents

This element may appear as an immediate child of the following elements: <program>

Examples