<console>
The <console> tag records a verbatim terminal session as a
sequence of <input> and optional
<output> elements. Prompts can be supplied on the
<console> itself or on individual inputs with the prompt and
continuation attributes.
If the session needs a number, title, or cross-reference target, wrap
the console in a <listing>.
Syntax
Attributes
| Attribute | Required? | Values |
|---|---|---|
component = "…" | optional | string |
continuation = "…" | optional | string |
margins = "…" | optional | string |
prompt = "…" | optional | string |
width = "…" | optional | string |
Children
The following may appear as children:<input> <output> Parents
This element may appear as an immediate child of the following elements:<abstract> <acknowledgement> <activity> <algorithm> <answer> <appendix> <article> <aside> <assemblage> <biographical> <biography> <case> <chapter> <claim> <colophon> <computation> <conclusion> <convention> <corollary> <data> <example> <exercise> <exploration> <fact> <feedback> <gi> <headnote> <hint> <historical> <identity> <insight> <introduction> <investigation> <lemma> <li> <listing> <note> <observation> <page> <paragraphs> <postlude> <preface> <prelude> <problem> <project> <prompt> <proof> <proposition> <question> <remark> <section> <sidebyside> <solution> <stack> <statement> <subsection> <subsubsection> <task> <technology> <theorem> <warning> <worksheet>