diff options
author | Louis Taylor <louis@kragniz.eu> | 2016-04-23 13:09:38 +0100 |
---|---|---|
committer | Louis Taylor <louis@kragniz.eu> | 2016-04-23 13:09:38 +0100 |
commit | 34f0b45da483835d1317b8cf0650de1762ce81d8 (patch) | |
tree | 0610bd4f3bb029a05640d553c9665e161323c09e /README.rst | |
parent | 486edfe4c90cd2f3658d6c3686cf8a0ee962ce6a (diff) |
Use code-block in readme
This looks at least 10% cooler.
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 ============= |