diff --git a/doc/guide/author/topics.xml b/doc/guide/author/topics.xml
index 92350435b..39fe24179 100644
--- a/doc/guide/author/topics.xml
+++ b/doc/guide/author/topics.xml
@@ -3792,7 +3792,7 @@
Content and Placement of Consoles
-
A console is a transcript of an interactive session in a terminal or console at a command-line. It is a sequence of the following elements, in this order, possibly repeated many times as a group: input, and output. The output is optional. The content of these two elements is treated as verbatim text (see ), subject to all the exceptions for exceptional characters (see ). A prompt attribute on the input can be supplied to provide a system prompt distinct from the actual commands. The default prompt is a dollar sign followed by a space. If it is more convenient prompt may be supplied on the console, to be used in each enclosed input. If you do not want any prompts at all, just use an empty value for prompt. A continuation attribute may also be supplied at the input or console. If present, it will apply to the start of each input line following the first.
+
A console is a transcript of an interactive session in a terminal or console at a command-line. It is a sequence of the following elements, in any order, possibly repeated many times: input, and output. The content of these two elements is treated as verbatim text (see ), subject to all the exceptions for exceptional characters (see ). A prompt attribute on the input can be supplied to provide a system prompt distinct from the actual commands. The default prompt is a dollar sign followed by a space. If it is more convenient prompt may be supplied on the console, to be used in each enclosed input. If you do not want any prompts at all, just use an empty value for prompt. A continuation attribute may also be supplied at the input or console. If present, it will apply to the start of each input line following the first.
A console may be wrapped in a listing, see . This will behave similar to a figure, with the caption displayed below, and a number assigned. So, in particular, if your program is important enough to cross-reference, it is an enclosing listing that serves as the target.
diff --git a/examples/sample-article/sample-article.xml b/examples/sample-article/sample-article.xml
index 2b3bc8b45..177f3d7be 100644
--- a/examples/sample-article/sample-article.xml
+++ b/examples/sample-article/sample-article.xml
@@ -11509,6 +11509,16 @@ along with PreTeXt. If not, see .
+
A console may start with output. This is useful if you are showing sample use of a program.
+
+ Console session, starting with program output
+
+
+ 42
+
+
+
+
Notice in the HTML version of the above example that when you highlight all, or a portion, of the listing for a cut-and-paste that the prompts are not included.
Now a test of some listings (and pre-formatted text) in a block that likely has a background color in an HTML version.