Skip to content

Commit

Permalink
docs: add missing console highlights (#6900)
Browse files Browse the repository at this point in the history
## Summary

Spotted a few missing `console` highlights in the documentation.
  • Loading branch information
mkniewallner committed Aug 31, 2024
1 parent fe5f085 commit c9e4395
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Type "help", "copyright", "credits" or "license" for more information.

Use a specific Python version in the current directory:

```
```console
$ uv python pin [email protected]
Pinned `.python-version` to `[email protected]`
```
Expand All @@ -190,7 +190,7 @@ Updated `example.py`

Then, run the script in an isolated virtual environment:

```
```console
$ uv run example.py
Reading inline script metadata from: example.py
Installed 5 packages in 12ms
Expand Down
4 changes: 2 additions & 2 deletions docs/concepts/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ Once a tool is installed with `uv tool install`, `uvx` will use the installed ve

For example, after installing an older version of Ruff:

```
```console
$ uv tool install ruff==0.5.0
```

The version of `ruff` and `uvx ruff` is the same:

```
```console
$ ruff --version
ruff 0.5.0
$ uvx ruff --version
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/install-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $ uv python install 3.11 3.12

To install an alternative Python implementation, e.g. PyPy:

```
```console
$ uv python install [email protected]
```

Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Type "help", "copyright", "credits" or "license" for more information.

Use a specific Python version in the current directory:

```
```console
$ uv python pin [email protected]
Pinned `.python-version` to `[email protected]`
```
Expand All @@ -177,7 +177,7 @@ Updated `example.py`

Then, run the script in an isolated virtual environment:

```
```console
$ uv run example.py
Reading inline script metadata from: example.py
Installed 5 packages in 12ms
Expand Down

0 comments on commit c9e4395

Please sign in to comment.