astro/packages/integrations/mdx/test
Ben Holmes a9c2920264
Markdown and MDX configuration rework (#5684)
* feat: change extendDefaults -> gfm

* deps: remove smartypants from md/remark

* tests: update markdown plugin tests

* fix: borked lockfile

* feat: allow all Markdown options in MDX config, with extend

* deps: remove smartypants from MDX

* chore: remove unused `mode` property

* chore: remark rehype types

* chore: dead code

* fix: order of default config properties

* refactor: move md defaults to remark

* fix: RemarkRehype type

* fix: apply defaults based on MD defaults

* chore: update plugin tests

* chore: add syntaxHighlight test

* refactor: remove drafts from config defaults

* docs: new MDX config options

* chore: add changeset

* edit: test both extends for syntax highlight

* refactor: remove MDX config deep merge

* docs: update README and changeset

* edit: avoid -> disable

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: `drafts` clarification

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: remove "scare quotes"

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* docs: MDX config options redraft

* docs: add migration

* chore: changeset heading levels

* refactor: githubFlavoredMarkdown -> gfm

* chore: remove unused imports

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-03 17:12:47 -05:00
..
fixtures Change frontmatter injection ordering (#5687) 2023-01-03 16:31:19 -05:00
mdx-astro-markdown-remarkRehype.test.js [ci] format 2022-11-22 15:15:03 +00:00
mdx-component.test.js Support rendering <Fragment> in MDX <Content /> component (#5522) 2022-12-05 21:56:43 +01: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 Change frontmatter injection ordering (#5687) 2023-01-03 16:31:19 -05:00
mdx-frontmatter.test.js Update Markdown type signature to match behavior (#4423) 2022-08-25 17:08:43 -04:00
mdx-get-headings.test.js MD/MDX collect headings refactor (#5654) 2022-12-20 23:08:15 +01:00
mdx-get-static-paths.test.js [ci] format 2022-07-28 15:00:32 +00:00
mdx-infinite-loop.test.js P5: fix MDX memory leak (#4939) 2022-09-30 17:13:44 -05:00
mdx-namespace.test.js [ci] format 2022-08-12 22:03:24 +00:00
mdx-page.test.js [ci] format 2022-08-23 17:28:38 +00:00
mdx-plugins.test.js Markdown and MDX configuration rework (#5684) 2023-01-03 17:12:47 -05:00
mdx-plus-react.test.js Add test for mdx + React usage (#4174) 2022-08-05 17:13:30 -04:00
mdx-slots.js Support rendering <Fragment> in MDX <Content /> component (#5522) 2022-12-05 21:56:43 +01:00
mdx-syntax-highlighting.test.js Markdown and MDX configuration rework (#5684) 2023-01-03 17:12:47 -05:00
mdx-url-export.test.js [MDX] Add Prism and Shiki support (#4002) 2022-07-21 16:43:58 -04:00
mdx-vite-env-vars.test.js [ci] format 2022-09-26 22:25:48 +00:00