From be36c55d37b9fa6b29f56e2fef6c443acaf67551 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Thu, 13 Oct 2022 14:26:44 +0100 Subject: [PATCH] Add code markup to the mention of a class name --- docs/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index 97704a9d1..221765557 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -350,7 +350,7 @@ You can declare a reactive attribute with [reactive][textual.reactive.reactive]. --8<-- "docs/examples/tutorial/stopwatch05.py" ``` -We have added two reactive attributes: `start_time` will contain the time in seconds when the stopwatch was started, and `time` will contain the time to be displayed on the Stopwatch. +We have added two reactive attributes: `start_time` will contain the time in seconds when the stopwatch was started, and `time` will contain the time to be displayed on the `Stopwatch`. Both attributes will be available on `self` as if you had assigned them in `__init__`. If you write to either of these attributes the widget will update automatically.