Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Add syntax highlight to examples in README #201

Merged
merged 1 commit into from
Feb 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ However, we currently do not support SOCKS proxies nor the pyOpenSSL and SecureT
Sample code
-----------

Hip is powerful and easy to use::
Hip is powerful and easy to use:

.. code-block:: python

>>> import hip
>>> http = hip.PoolManager()
Expand All @@ -54,7 +56,9 @@ Hip is powerful and easy to use::
>>> r.data
'User-agent: *\nDisallow: /deny\n'

It also supports async/await::
It also supports async/await:

.. code-block:: python

import hip
import trio
Expand Down