Make code highlighting work

master
Viktor Villainov 2018-12-29 08:07:12 -05:00
parent dbc015be4a
commit 8acc0615f1
No known key found for this signature in database
GPG Key ID: 8EB38B46F33BAF2F
3 changed files with 12 additions and 9 deletions

View File

@ -2,6 +2,9 @@ i2plib
======
.. image:: https://travis-ci.com/l-n-s/i2plib.svg?branch=master
:target: https://travis-ci.com/l-n-s/i2plib
.. image:: https://readthedocs.org/projects/i2plib/badge/?version=latest
:target: https://i2plib.readthedocs.io/en/latest/
:alt: Latest Read The Docs
i2plib is a modern asynchronous library for building I2P applications.
@ -20,7 +23,7 @@ Requirements:
Connecting to a remote I2P destination
--------------------------------------
::
.. code-block:: python
import asyncio
import i2plib
@ -49,7 +52,7 @@ Connecting to a remote I2P destination
Accept connections in I2P
-------------------------
::
.. code-block:: python
import asyncio
import i2plib
@ -89,7 +92,7 @@ Server tunnel
Expose a local service to I2P like that:
::
.. code-block:: python
import asyncio
import i2plib
@ -111,7 +114,7 @@ Client tunnel
Bind a remote I2P destination to a port on your local host:
::
.. code-block:: python
import asyncio
import i2plib

View File

@ -30,7 +30,7 @@ The following are asynchronous context managers for making I2P connections.
You can use them like that:
::
.. code-block:: python
import asyncio
import i2plib

View File

@ -16,7 +16,7 @@ Requirements:
Connecting to a remote I2P destination
--------------------------------------
::
.. code-block:: python
import asyncio
import i2plib
@ -45,7 +45,7 @@ Connecting to a remote I2P destination
Accept connections in I2P
-------------------------
::
.. code-block:: python
import asyncio
import i2plib
@ -85,7 +85,7 @@ Server tunnel
Expose a local service to I2P like that:
::
.. code-block:: python
import asyncio
import i2plib
@ -107,7 +107,7 @@ Client tunnel
Bind a remote I2P destination to a port on your local host:
::
.. code-block:: python
import asyncio
import i2plib