summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorLouis Taylor <louis@kragniz.eu>2016-04-23 13:09:38 +0100
committerLouis Taylor <louis@kragniz.eu>2016-04-23 13:09:38 +0100
commit34f0b45da483835d1317b8cf0650de1762ce81d8 (patch)
tree0610bd4f3bb029a05640d553c9665e161323c09e /README.rst
parent486edfe4c90cd2f3658d6c3686cf8a0ee962ce6a (diff)
Use code-block in readme
This looks at least 10% cooler.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 657660b..0f2e761 100644
--- a/README.rst
+++ b/README.rst
@@ -12,7 +12,9 @@ stack. It's written from the ground up to be embeddable in whatever program you
choose to use, ensuring that you can speak HTTP/2 regardless of your
programming paradigm.
-You use it like this::
+You use it like this:
+
+.. code-block:: python
import h2.connection
@@ -27,9 +29,11 @@ about concurrency. Instead, it's a purely in-memory solution, defined in terms
of data actions and HTTP/2 frames. This is one building block of a full Python
HTTP implementation.
-To install it, just run::
+To install it, just run:
+
+.. code-block:: console
- pip install h2
+ $ pip install h2
Documentation
=============