0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations/mdx/test/fixtures
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
..
mdx-component/src [MDX] Fix remaining inconsistencies with Markdown (#4268) 2022-08-12 18:17:26 -04:00
mdx-escape/src Handle edge case in jsx-runtime (#4158) 2022-08-05 10:35:47 -05:00
mdx-frontmatter/src [MDX] Fix remaining inconsistencies with Markdown (#4268) 2022-08-12 18:17:26 -04:00
mdx-frontmatter-injection [MDX] Pass injected frontmatter to layouts (#4255) 2022-08-11 12:36:34 -05:00
mdx-get-headings/src/pages [MDX] Add getHeadings + generate anchor links (#4095) 2022-08-01 17:23:56 -04:00
mdx-get-static-paths/src
mdx-namespace Fix namespaced component usage in MDX (#4272) 2022-08-12 17:01:05 -05:00
mdx-page Load configs with Vite when loading with Proload fails (#4112) 2022-08-02 08:08:28 -04:00
mdx-plus-react Add test for mdx + React usage (#4174) 2022-08-05 17:13:30 -04:00
mdx-rehype-plugins/src/pages Frontmatter injection for MD and MDX (#4176) 2022-08-05 18:55:38 -05:00
mdx-remark-plugins/src/pages Frontmatter injection for MD and MDX (#4176) 2022-08-05 18:55:38 -05:00
mdx-syntax-hightlighting/src/pages
mdx-url-export/src/pages