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 MDX support (#3706) 2022-06-30 13:09:09 -05:00
src Handle metadata for MDX files during build (#3915) 2022-07-15 11:25:29 -04:00
.gitignore MDX support (#3706) 2022-06-30 13:09:09 -05:00
.npmrc MDX support (#3706) 2022-06-30 13:09:09 -05:00
.stackblitzrc MDX support (#3706) 2022-06-30 13:09:09 -05:00
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 MDX support (#3706) 2022-06-30 13:09:09 -05:00
sandbox.config.json MDX support (#3706) 2022-06-30 13:09:09 -05:00
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.