From a5b98818c8ca6f7d7940caa50b52cc71c99f1bf5 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Mon, 30 Jul 2012 13:58:13 +0200 Subject: [PATCH] Syntax-highlighting for examples in the README. --- README.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 28366534..44e1a412 100644 --- a/README.rst +++ b/README.rst @@ -336,16 +336,22 @@ to see whether it has been previously discussed. Then fork and clone `the repository`_. To point the ``http`` command to your local branch during development you can -install HTTPie in an editable mode:: +install HTTPie in an editable mode: + +.. code-block:: shell pip install --editable . -To run the existing suite of tests before a pull request is submitted:: +To run the existing suite of tests before a pull request is submitted: + +.. code-block:: shell python setup.py test `Tox`_ can also be used to conveniently run tests in all of the -`supported Python environments`_:: +`supported Python environments`_: + +.. code-block:: shell # Install tox pip install tox