From 2272e2c492458a2b0bd05f79ae4e2b09823a78ce Mon Sep 17 00:00:00 2001 From: Rolfe Dlugy-Hegwer Date: Thu, 18 Sep 2025 16:22:37 -0400 Subject: [PATCH 1/2] Remove asterisks surrounding commands Asterisks around commands break commands that already contain one or more asterisk wilcards. Fixes https://github.com/redhat-documentation/supplementary-style-guide/issues/535 --- supplementary_style_guide/style_guidelines/formatting.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supplementary_style_guide/style_guidelines/formatting.adoc b/supplementary_style_guide/style_guidelines/formatting.adoc index 2b099958..82b83cf1 100644 --- a/supplementary_style_guide/style_guidelines/formatting.adoc +++ b/supplementary_style_guide/style_guidelines/formatting.adoc @@ -19,7 +19,7 @@ To apply formatting in a code block, you must use the `quotes` link:https://docs [subs="+quotes"] ---- - # *virsh net-list --all* + # virsh net-list --all ---- [subs="+quotes"] @@ -37,7 +37,7 @@ Verify that the `libvirt` default network is active and configured to start auto [subs="+quotes"] ---- -# *virsh net-list --all* +# virsh net-list --all ---- [subs="+quotes"] From db977bd5d11e512af554906fe3bcb13478489d46 Mon Sep 17 00:00:00 2001 From: Rolfe Dlugy-Hegwer Date: Thu, 18 Sep 2025 16:35:46 -0400 Subject: [PATCH 2/2] Update formatting.adoc --- supplementary_style_guide/style_guidelines/formatting.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supplementary_style_guide/style_guidelines/formatting.adoc b/supplementary_style_guide/style_guidelines/formatting.adoc index 82b83cf1..e6dece94 100644 --- a/supplementary_style_guide/style_guidelines/formatting.adoc +++ b/supplementary_style_guide/style_guidelines/formatting.adoc @@ -315,7 +315,7 @@ To italicize a user-replaced value in a code block, you must add an attribute to [subs="+quotes"] ---- - $ *oc describe node ____* + $ oc describe node ____ ---- This example renders as follows in HTML: @@ -323,7 +323,7 @@ This example renders as follows in HTML: ==== [subs="+quotes"] ---- -$ *oc describe node ____* +$ oc describe node ____ ---- ====