diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst
index 45c058c762d1..9729c1f1c2c1 100644
--- a/documentation/brief-yoctoprojectqs/index.rst
+++ b/documentation/brief-yoctoprojectqs/index.rst
@@ -305,7 +305,9 @@ an entire Linux distribution, including the toolchain, from source.
        can download these artifacts faster than you would be able to build them.
 
        To use such mirrors, enable the
-       :ref:`ref-fragments-core-yocto-sstate-mirror-cdn` fragment::
+       :ref:`ref-fragments-core-yocto-sstate-mirror-cdn` fragment:
+
+       .. code-block:: console
 
           $ bitbake-config-build enable-fragment core/yocto/sstate-mirror-cdn
 
@@ -371,7 +373,9 @@ layer>`:
     adds the :yocto_git:`meta-raspberrypi </meta-raspberrypi>` BSP
     layer.
 
-    First, clone the layer next to the other layers::
+    First, clone the layer next to the other layers:
+
+    .. code-block:: console
 
       $ git clone -b &DISTRO_NAME_NO_CAP; https://git.yoctoproject.org/meta-raspberrypi ../layers/meta-raspberrypi
 
