Skip to content

Commit 97088bc

Browse files
authored
fix formatting of shell commands
"sudo zypper in python3-idle" gets highlighted as Python code. specifically "in" is highlighted in green. Since this is a shell command it needs to be formatted as such.
1 parent 7ae9c5d commit 97088bc

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

Doc/using/unix.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,28 @@ Installing IDLE
4242

4343
In some cases, IDLE might not be included in your Python installation.
4444

45-
* For Debian and Ubuntu users::
45+
* For Debian and Ubuntu users:
46+
47+
.. code-block:: shell
4648
4749
sudo apt update
4850
sudo apt install idle
4951
50-
* For Fedora, RHEL, and CentOS users::
52+
* For Fedora, RHEL, and CentOS users:
53+
54+
.. code-block:: shell
5155
5256
sudo dnf install python3-idle
5357
54-
* For SUSE and OpenSUSE users::
58+
* For SUSE and OpenSUSE users:
59+
60+
.. code-block:: shell
5561
5662
sudo zypper in python3-idle
5763
58-
* For Alpine Linux users::
64+
* For Alpine Linux users:
65+
66+
.. code-block:: shell
5967
6068
sudo apk add python3-idle
6169

0 commit comments

Comments
 (0)