From: Fabien Potencier Date: Wed, 29 Feb 2012 21:20:34 +0000 (+0100) Subject: fixed previous commit X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=e765183c62845d8e36b5300e016bd85f99a534d9;p=web%2Fkonrad%2Ftwig.git fixed previous commit --- diff --git a/doc/intro.rst b/doc/intro.rst index ee5307e..c3355ea 100644 --- a/doc/intro.rst +++ b/doc/intro.rst @@ -56,11 +56,13 @@ Installing the PEAR package 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 @@ -71,9 +73,11 @@ Installing via Composer } -3. Install twig via composer +3. Install via composer + +.. code-block:: bash -``php composer.phar install`` + php composer.phar install Installing the C extension ~~~~~~~~~~~~~~~~~~~~~~~~~~