Skip to content

Commit ca66cef

Browse files
committed
Command code block example as suggested by Fernando
1 parent baa17d3 commit ca66cef

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

USAGEGUIDE.adoc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,19 @@ image::sample-image.png[]
3131
. Numbered Step 1
3232
. Numbered Step 2
3333
+
34-
[source,bash,role=execute]
35-
----
36-
Code block for command with copy button.
37-
----
34+
Code block for command with copy button
3835
+
39-
.Sample Output
36+
[source,console,subs="verbatim,quotes"]
4037
----
41-
Code block to show sample output of the command.
42-
This does not have copy button.
38+
$ *command 1*
39+
command 1 output for user reference
40+
$ *command 2*
41+
command 2 output
42+
$ *command 3*
4343
----
44-
44+
+
45+
Only commands are picked in the copy buffer without any formating string or output. Multiple commands are combined with ampersand (&&)
46+
+
4547
. Numbered Step 3
4648
.. Sub Numbered Step 1
4749
.. Sub Numbered Step 2

0 commit comments

Comments
 (0)