summaryrefslogtreecommitdiff
path: root/examples/with-mdx/src
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2022-07-15 10:25:29 -0500
committerGravatar GitHub <noreply@github.com> 2022-07-15 11:25:29 -0400
commitf5d4ebf0e242a7d33fedfe924f9dea678a7e673c (patch)
tree02bcd66ad3661a112d7c274b92d272bd8bd30cac /examples/with-mdx/src
parent31f9c0bf029ffa4b470e620f2c32e1370643e81e (diff)
downloadastro-f5d4ebf0e242a7d33fedfe924f9dea678a7e673c.tar.gz
astro-f5d4ebf0e242a7d33fedfe924f9dea678a7e673c.tar.zst
astro-f5d4ebf0e242a7d33fedfe924f9dea678a7e673c.zip
Handle metadata for MDX files during build (#3915)
* fix: metadata handling for MDX files * chore: add changeset * chore: update mdx example * fix: protect against infinite loops in jsx-runtime, properly hook console.error * chore: remove unused import * feat(mdx): support `client:only` * fix: prefer Symbol.for * fix(jsx): handle vnode check properly * chore: appease ts Co-authored-by: Nate Moore <nate@astro.build>
Diffstat (limited to 'examples/with-mdx/src')
-rw-r--r--examples/with-mdx/src/pages/index.mdx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/with-mdx/src/pages/index.mdx b/examples/with-mdx/src/pages/index.mdx
index b82572b48..84c9cc5fd 100644
--- a/examples/with-mdx/src/pages/index.mdx
+++ b/examples/with-mdx/src/pages/index.mdx
@@ -14,4 +14,4 @@ Written by: {new Intl.ListFormat('en').format(authors.map(d => d.name))}.
Published on: {new Intl.DateTimeFormat('en', {dateStyle: 'long'}).format(published)}.
-<Counter>## This is a counter!</Counter>
+<Counter client:idle>This is a **counter**!</Counter>