mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
highlight lines
This commit is contained in:
@@ -175,7 +175,7 @@ Let's take the [utility containers](#utility-containers) example and update it t
|
|||||||
|
|
||||||
Composing with context managers.
|
Composing with context managers.
|
||||||
|
|
||||||
```python
|
```python hl_lines="10-16"
|
||||||
--8<-- "docs/examples/guide/layout/utility_containers_using_with.py"
|
--8<-- "docs/examples/guide/layout/utility_containers_using_with.py"
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -183,7 +183,7 @@ Let's take the [utility containers](#utility-containers) example and update it t
|
|||||||
|
|
||||||
This is the original code.
|
This is the original code.
|
||||||
|
|
||||||
```python
|
```python hl_lines="10-21"
|
||||||
--8<-- "docs/examples/guide/layout/utility_containers.py"
|
--8<-- "docs/examples/guide/layout/utility_containers.py"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user