diff options
-rw-r--r-- | docs/syntax.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/syntax.md b/docs/syntax.md index 37862f693..edf854046 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -55,6 +55,7 @@ We love JSX! In fact, `.astro` files borrow the highly-expressive templating syn <!-- This is an Astro component with expressions! --> <main> <h1>Hello {name}!</h1> + <h2 data-hint={`Use JS template strings when you need to mix-in ${"variables"}.`}>So good!</h2> <ul> {items.map((item) => ( <li>{item}</li> |