@@ -25,7 +25,7 @@ This will be a simple yet **fully featured** app — you could distribute th
2525Here'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
9090If 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
9696Hit 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
101101Hit ++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
450450If 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