Installing via Composer
~~~~~~~~~~~~~~~~~~~~~~~
-1. Install composer in your project
+1. Install composer in your project:
-``curl -s http://getcomposer.org/installer | php``
+.. code-block:: bash
+
+ curl -s http://getcomposer.org/installer | php``
-2. create composer.json in your project root with:
+2. Create a ``composer.json`` file in your project root:
.. code-block:: javascript
}
-3. Install twig via composer
+3. Install via composer
+
+.. code-block:: bash
-``php composer.phar install``
+ php composer.phar install
Installing the C extension
~~~~~~~~~~~~~~~~~~~~~~~~~~