diff --git a/docs/COMPILE-NIX.md b/docs/COMPILE-NIX.md
index 9b466887c40381724c93860569b62c28013d2c46..e0aa631816c0340e9d580d4694405a2aefac4e73 100644
--- a/docs/COMPILE-NIX.md
+++ b/docs/COMPILE-NIX.md
@@ -8,30 +8,30 @@ CMake is required as dependency.
 
 - On Mac OS X, you can install "cmake" with "brew".
 
-    $ brew install cmake
+        $ brew install cmake
 
 - On Utunbu Linux, install "cmake" with.
 
-    $ sudo apt-get install cmake
+        $ sudo apt-get install cmake
 
 
 1. From the root directory of Keystone source, compile dynamic library
    with below commands.
 
-    $ mkdir build
-    $ cd build
-    $ ../make-share.sh
+        $ mkdir build
+        $ cd build
+        $ ../make-share.sh
 
    You can also compile static libray with.
 
-    $ mkdir build
-    $ cd build
-    $ ../make-lib.sh
+        $ mkdir build
+        $ cd build
+        $ ../make-lib.sh
 
 
 2. Right after building step, install Keystone.
 
-    $ sudo make install
+        $ sudo make install
 
    Besides the libraries & C header files under directory "include/keystone",
    this step also installs a tool named "kstool" into the system.
@@ -40,7 +40,7 @@ CMake is required as dependency.
 
 3. Test Keystone with "kstool" like below.
 
-    $ kstool x32 "add eax, ebx"
+        $ kstool x32 "add eax, ebx"
 
    Run "kstool" without any option to find out how to use this handy tool.
 
diff --git a/docs/COMPILE-WINDOWS.md b/docs/COMPILE-WINDOWS.md
index 56b2ab1495bff76a7e0cc078d6e955239084867e..c6e67eb965de5434b15c71b3be5cfcc38ecfa4a1 100644
--- a/docs/COMPILE-WINDOWS.md
+++ b/docs/COMPILE-WINDOWS.md
@@ -14,16 +14,16 @@ https://www.visualstudio.com
 1. Open the Visual Studio Command Promplt, and from the root directory
   of Keystone source, do:
 
-    $ mkdir build
-    $ cd build
+        $ mkdir build
+        $ cd build
 
   To build DLL file, run:
 
-    $ ..\nmake-dll.bat
+        $ ..\nmake-dll.bat
 
   To build LIB file, run:
 
-    $ ..\nmake-lib.bat
+        $ ..\nmake-lib.bat
 
   Find the generated libraries in build\llvm\lib\keystone.{dll,lib}
   
@@ -34,7 +34,7 @@ https://www.visualstudio.com
 
 2. Test Keystone with "kstool" like below.
 
-    > kstool x32 "add eax, ebx"
+        $ kstool x32 "add eax, ebx"
 
   Run "kstool" without any option to find out how to use this handy tool.