Skip to content

Commit 3716641

Browse files
committed
snapshots
1 parent bda56ab commit 3716641

23 files changed

+1957
-1201
lines changed

docs/guide/content.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Content
22

3-
The *content* of widget (displayed within the widget's borders) is typically specified in a call to [`Static.update`][textual.widgets.static.Static.update] or returned from [`render()`][textual.widget.Widget.render] in the case of [custom widgets](./widgets.md#custom-widgets).
3+
The *content* of widget (displayed within the widget's borders) is typically specified in a call to [`Static.update`][textual.widgets.Static.update] or returned from [`render()`][textual.widget.Widget.render] in the case of [custom widgets](./widgets.md#custom-widgets).
44

55
There are a few ways for you to specify this content.
66

7-
- Text — either plain text, or [markup](#markup).
7+
- Text — a string containing [markup](#markup).
88
- [Content](#content-class) objects — for more advanced control over output.
99
- Rich renderables — any object that may be printed with [Rich](https://rich.readthedocs.io/en/latest/).
1010

@@ -397,7 +397,7 @@ You can experiment with this feature by entering a dictionary of variables in th
397397

398398
Here's what that looks like:
399399

400-
```{.textual path="docs/examples/guide/content/playground.py" lines=20 columns=100 type='hello [bold]$name[/bold]!\t{"name": "[magenta italic]Will"}\t']}
400+
```{.textual path="docs/examples/guide/content/playground.py" lines=20 columns=110 type='hello [bold]$name[/bold]!\t{"name": "[magenta italic]Will"}\t']}
401401
```
402402

403403
## Rich renderables

0 commit comments

Comments
 (0)