Skip to content

Commit f27c443

Browse files
committed
Consistently use 'console' highlighting where applicable
1 parent f8688e8 commit f27c443

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Installation
3232
The `coloredlogs` package is available on PyPI_ which means installation should
3333
be as simple as:
3434

35-
.. code-block:: sh
35+
.. code-block:: console
3636
3737
$ pip install coloredlogs
3838

coloredlogs/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
The simplest customization is to change the log format, for example:
9191
9292
.. literalinclude:: examples/custom-log-format.txt
93-
:language: sh
93+
:language: console
9494
9595
Here's what that looks like in a terminal (I always work in terminals with a
9696
black background and white text):
@@ -105,7 +105,7 @@
105105
part and leave only the time:
106106
107107
.. literalinclude:: examples/custom-datetime-format.txt
108-
:language: sh
108+
:language: console
109109
110110
Here's what it looks like in a terminal:
111111
@@ -118,7 +118,7 @@
118118
Finally you can customize the colors and text styles that are used:
119119
120120
.. literalinclude:: examples/custom-colors.txt
121-
:language: sh
121+
:language: console
122122
123123
Here's an explanation of the features used here:
124124

0 commit comments

Comments
 (0)