summaryrefslogtreecommitdiffstats
path: root/Documentation/user/memory-areas.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/user/memory-areas.rst')
-rw-r--r--Documentation/user/memory-areas.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/user/memory-areas.rst b/Documentation/user/memory-areas.rst
index 9654a99167..d673f6e1b1 100644
--- a/Documentation/user/memory-areas.rst
+++ b/Documentation/user/memory-areas.rst
@@ -17,11 +17,15 @@ gigabyte.
Examples
--------
-Display a hexdump from 0x80000000 to 0x80001000 (inclusive)::
+Display a hexdump from 0x80000000 to 0x80001000 (inclusive):
+
+.. code-block:: sh
md 0x80000000-0x80001000
-Display 1 kilobyte of memory starting at 0x80000000::
+Display 1 kilobyte of memory starting at 0x80000000:
+
+.. code-block:: sh
md 0x80000000+1k