diff --git a/README.rst b/README.rst index ccf40f8..754c43c 100644 --- a/README.rst +++ b/README.rst @@ -15,29 +15,29 @@ Installation It's easy using ``pip``, just run: -:: +.. code-block:: bash $ pip install readability-lxml Usage ----- -:: +.. code-block:: python >>> import requests >>> from readability import Document - + >>> response = requests.get('http://example.com') >>> doc = Document(response.text) >>> doc.title() 'Example Domain' - + >>> doc.summary() - u'
This domain is established to be used for illustrative examples in documents. You may use this\n domain in examples without prior coordination or asking for permission.
\n \n