Browse code

fixed previous commit

Fabien Potencier authored on 29/02/2012 21:20:34
Showing 1 changed files
... ...
@@ -56,11 +56,13 @@ Installing the PEAR package
56 56
 Installing via Composer
57 57
 ~~~~~~~~~~~~~~~~~~~~~~~
58 58
 
59
-1. Install composer in your project
59
+1. Install composer in your project:
60 60
 
61
-``curl -s http://getcomposer.org/installer | php``
61
+.. code-block:: bash
62
+
63
+    curl -s http://getcomposer.org/installer | php``
62 64
 
63
-2. create composer.json in your project root with:
65
+2. Create a ``composer.json`` file in your project root:
64 66
 
65 67
 .. code-block:: javascript
66 68
 
... ...
@@ -71,9 +73,11 @@ Installing via Composer
71 73
     }
72 74
 
73 75
 
74
-3. Install twig via composer 
76
+3. Install via composer
77
+
78
+.. code-block:: bash
75 79
 
76
-``php composer.phar install``
80
+    php composer.phar install
77 81
 
78 82
 Installing the C extension
79 83
 ~~~~~~~~~~~~~~~~~~~~~~~~~~