We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f31192 commit 5861c2dCopy full SHA for 5861c2d
README.rst
@@ -36,15 +36,15 @@ Usage
36
37
Titlecase provides only one function, simply:
38
39
-::
+.. code-block:: python
40
41
>>> from titlecase import titlecase
42
>>> titlecase('a thing')
43
'A Thing'
44
45
A callback function may also be supplied, which will be called for every word:
46
47
48
49
>>> def abbreviations(word, **kwargs):
50
... if word.upper() in ('TCP', 'UDP'):
@@ -63,7 +63,7 @@ Command Line Usage
63
64
Titlecase also provides a command line utility ``titlecase``:
65
66
67
68
$ titlecase make me a title
69
Make Me a Title
0 commit comments