astro/packages/integrations/mdx/test
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
..
fixtures [MDX] Fix remaining inconsistencies with Markdown (#4268) 2022-08-12 18:17:26 -04:00
mdx-component.test.js [MDX] Fix remaining inconsistencies with Markdown (#4268) 2022-08-12 18:17:26 -04:00
mdx-escape.test.js Handle edge case in jsx-runtime (#4158) 2022-08-05 10:35:47 -05:00
mdx-frontmatter-injection.test.js [MDX] Pass injected frontmatter to layouts (#4255) 2022-08-11 12:36:34 -05:00
mdx-frontmatter.test.js [MDX] Fix remaining inconsistencies with Markdown (#4268) 2022-08-12 18:17:26 -04:00
mdx-get-headings.test.js [ci] format 2022-08-01 21:25:50 +00:00
mdx-get-static-paths.test.js [ci] format 2022-07-28 15:00:32 +00:00
mdx-namespace.test.js [ci] format 2022-08-12 22:03:24 +00:00
mdx-page.test.js [ci] format 2022-08-02 12:10:35 +00:00
mdx-plus-react.test.js Add test for mdx + React usage (#4174) 2022-08-05 17:13:30 -04:00
mdx-rehype-plugins.test.js [MDX] Prevent overriding collect-headings plugin (#4181) 2022-08-05 20:51:38 -07:00
mdx-remark-plugins.test.js [ci] format 2022-07-20 18:16:33 +00:00
mdx-syntax-highlighting.test.js [ci] format 2022-07-21 20:46:16 +00:00
mdx-url-export.test.js [MDX] Add Prism and Shiki support (#4002) 2022-07-21 16:43:58 -04:00