From e765183c62845d8e36b5300e016bd85f99a534d9 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 29 Feb 2012 22:20:34 +0100 Subject: [PATCH] fixed previous commit --- doc/intro.rst | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 1.7.2.5