diff --git a/site/static/md/guide/getting_started.md b/site/static/md/guide/getting_started.md index cd94c353e..ce3a7f067 100644 --- a/site/static/md/guide/getting_started.md +++ b/site/static/md/guide/getting_started.md @@ -118,17 +118,17 @@ The value of the `data-text` attribute is a [Datastar expression](/guide/datasta The [`data-computed`](/reference/attribute_plugins#data-computed) attribute creates a new signal that is computed based on an expression. The computed signal is read-only, and its value is automatically updated when any signals in the expression are updated. ```html -
- -
- Will be replaced with the contents of the repeated signal -
-
+ +
+
+ Will be replaced with the contents of the repeated signal +
+
> ``` This results in the `$repeated` signal's value always being equal to the value of the `$input` signal repeated twice. Computed signals are useful for memoizing expressions containing other signals. -
+
Input:
@@ -136,7 +136,7 @@ This results in the `$repeated` signal's value always being equal to the value o
Output:
-
+