Skip to content

Commit 2094d6b

Browse files
committed
titltes on tutorial
1 parent e35a8ad commit 2094d6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/tutorial.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This will be a simple yet **fully featured** app — you could distribute th
2525
Here's what the finished app will look like:
2626

2727

28-
```{.textual path="docs/examples/tutorial/stopwatch.py" press="tab,enter,tab,enter,tab,enter,tab,enter"}
28+
```{.textual path="docs/examples/tutorial/stopwatch.py" title="stopwatch.py" press="tab,enter,tab,enter,tab,enter,tab,enter"}
2929
```
3030

3131
### Get the code
@@ -90,12 +90,12 @@ The first step in building a Textual app is to import and extend the `App` class
9090
If you run this code, you should see something like the following:
9191

9292

93-
```{.textual path="docs/examples/tutorial/stopwatch01.py"}
93+
```{.textual path="docs/examples/tutorial/stopwatch01.py" title="stopwatch01.py"}
9494
```
9595

9696
Hit the ++d++ key to toggle between light and dark mode.
9797

98-
```{.textual path="docs/examples/tutorial/stopwatch01.py" press="d" title="StopwatchApp + dark"}
98+
```{.textual path="docs/examples/tutorial/stopwatch01.py" press="d" title="stopwatch01.py"}
9999
```
100100

101101
Hit ++ctrl+c++ to exit the app and return to the command prompt.
@@ -449,7 +449,7 @@ The `action_remove_stopwatch` function calls [query()][textual.dom.DOMNode.query
449449

450450
If you run `stopwatch.py` now you can add a new stopwatch with the ++a++ key and remove a stopwatch with ++r++.
451451

452-
```{.textual path="docs/examples/tutorial/stopwatch.py" press="d,a,a,a,a,a,a,a,tab,enter,tab"}
452+
```{.textual path="docs/examples/tutorial/stopwatch.py" title="stopwatch.py" press="d,a,a,a,a,a,a,a,tab,enter,tab"}
453453
```
454454

455455
## What next?

0 commit comments

Comments
 (0)