0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/examples/with-mdx
Nate Moore f5d4ebf0e2
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>
2022-07-15 11:25:29 -04:00
..
.vscode [ci] format 2022-07-01 20:53:13 +00:00
public
src Handle metadata for MDX files during build (#3915) 2022-07-15 11:25:29 -04:00
.gitignore
.npmrc
.stackblitzrc
astro.config.mjs [ci] format 2022-06-30 18:11:12 +00:00
package.json [ci] release (#3925) 2022-07-14 15:36:23 -04:00
README.md
sandbox.config.json
tsconfig.json Move client types into Astro (#3851) 2022-07-11 08:12:18 -04:00

Astro Example: MDX

npm init astro -- --template with-mdx

Open in StackBlitz

This example showcases using @astrojs/mdx to author content using MDX.