summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-06-09 14:15:46 -0700
committerGravatar GitHub <noreply@github.com> 2021-06-09 14:15:46 -0700
commit047b0fcc6cbe722fd0f3d8ca7894e7986f004302 (patch)
tree89339dce52925acf2df82495eef02e8343e97c10
parent5fbc1cb64114ccccd62b92232eb10613b5226b3f (diff)
downloadastro-047b0fcc6cbe722fd0f3d8ca7894e7986f004302.tar.gz
astro-047b0fcc6cbe722fd0f3d8ca7894e7986f004302.tar.zst
astro-047b0fcc6cbe722fd0f3d8ca7894e7986f004302.zip
Update syntax.md
-rw-r--r--docs/syntax.md1
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>