projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce595d4
)
Use console syntax highlighting in the readme file.
author
Artur Dryomov
<artur.dryomov@gmail.com>
Mon, 3 Dec 2012 17:20:47 +0000
(20:20 +0300)
committer
Artur Dryomov
<artur.dryomov@gmail.com>
Mon, 3 Dec 2012 17:20:47 +0000
(20:20 +0300)
README.rst
patch
|
blob
|
history
diff --git
a/README.rst
b/README.rst
index
b9e039f
..
29d09c8
100644
(file)
--- a/
README.rst
+++ b/
README.rst
@@
-16,7
+16,7
@@
perform the simplest of tasks.
Things shouldn't be this way. Not in Python.
-::
+.. code-block:: pycon
>>> r = requests.get('https://api.github.com', auth=('user', 'pass'))
>>> r.status_code
@@
-54,11
+54,15
@@
Features
Installation
------------
-To install requests, simply: ::
+To install requests, simply:
+
+.. code-block:: bash
$ pip install requests
-Or, if you absolutely must: ::
+Or, if you absolutely must:
+
+.. code-block:: bash
$ easy_install requests