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 |
||
---|---|---|
.. | ||
fixtures | ||
mdx-component.test.js | ||
mdx-escape.test.js | ||
mdx-frontmatter-injection.test.js | ||
mdx-frontmatter.test.js | ||
mdx-get-headings.test.js | ||
mdx-get-static-paths.test.js | ||
mdx-namespace.test.js | ||
mdx-page.test.js | ||
mdx-plus-react.test.js | ||
mdx-rehype-plugins.test.js | ||
mdx-remark-plugins.test.js | ||
mdx-syntax-highlighting.test.js | ||
mdx-url-export.test.js |