mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Correct the highlighted lines
I'd not realised that
78ea2cd9f8
would have a visible knock-on effect in the docs, because the docs specify
which lines should be highlighted. As per this comment
https://github.com/Textualize/textual/pull/888#issuecomment-1277298383 this
corrects that.
This commit is contained in:
@@ -24,7 +24,7 @@ Let's look at a simple example of writing a screen class to simulate Window's [b
|
||||
|
||||
=== "screen01.py"
|
||||
|
||||
```python title="screen01.py" hl_lines="17-23 28"
|
||||
```python title="screen01.py" hl_lines="18-24 29"
|
||||
--8<-- "docs/examples/guide/screens/screen01.py"
|
||||
```
|
||||
|
||||
@@ -53,7 +53,7 @@ You can also _install_ new named screens dynamically with the [install_screen][t
|
||||
|
||||
=== "screen02.py"
|
||||
|
||||
```python title="screen02.py" hl_lines="30-31"
|
||||
```python title="screen02.py" hl_lines="31-32"
|
||||
--8<-- "docs/examples/guide/screens/screen02.py"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user