mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
f7afdb889f
* 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 |
||
---|---|---|
.. | ||
mdx-component/src | ||
mdx-escape/src | ||
mdx-frontmatter/src | ||
mdx-frontmatter-injection | ||
mdx-get-headings/src/pages | ||
mdx-get-static-paths/src | ||
mdx-namespace | ||
mdx-page | ||
mdx-plus-react | ||
mdx-rehype-plugins/src/pages | ||
mdx-remark-plugins/src/pages | ||
mdx-syntax-hightlighting/src/pages | ||
mdx-url-export/src/pages |