astro/packages/integrations
Ben Holmes f7afdb889f
[MDX] Fix remaining inconsistencies with Markdown (#4268)
* feat: add "file" and "url" to layout props

* feat: add rawContent and compiledContent errs

* fix: add "file" and "url" to frontmatter

* fix: add separate MDX instance type

* types: add MarkdownLayoutProps and MDXLayoutProps

* refactor: simplify MDXLayoutProps

* test: pass file and url to layout

* test: glob components with .default and Content

* feat: add <Content /> to MDX

* feat: declare MDX type module

* fix: [MD] move file and url to layout props only

* chore: changeset

* chore: bump MDX to "minor" with more details

* refactor: remove "file" + "url" top-level props (save for minor)

* revert: MDInstance type def updates (save for minor)

* fix: MDXInstance "default" + "content" types

* fix: bad test layout

* chore: remove getHeaders fro *.mdx
2022-08-12 18:17:26 -04:00
..
cloudflare [ci] release (#4228) 2022-08-10 16:54:12 -04:00
deno Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
image [ci] release (#4249) 2022-08-11 16:50:59 -07:00
lit Update code samples to match release version (#4241) 2022-08-10 14:08:12 -05:00
mdx [MDX] Fix remaining inconsistencies with Markdown (#4268) 2022-08-12 18:17:26 -04:00
netlify [ci] release (#4249) 2022-08-11 16:50:59 -07:00
node Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
partytown Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
preact [ci] release (#4249) 2022-08-11 16:50:59 -07:00
prefetch [ci] release (#4249) 2022-08-11 16:50:59 -07:00
react Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
sitemap Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
solid [ci] format 2022-08-10 19:13:28 +00:00
svelte Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
tailwind Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
turbolinks [ci] release (#3850) 2022-07-08 20:54:39 -04:00
vercel Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
vue Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00