Update syntax.md
This commit is contained in:
parent
5fbc1cb641
commit
047b0fcc6c
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue