0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
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
mdx-frontmatter-injection.test.js Change frontmatter injection ordering (#5687) 2023-01-03 16:31:19 -05:00
mdx-frontmatter.test.js
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
mdx-infinite-loop.test.js P5: fix MDX memory leak (#4939) 2022-09-30 17:13:44 -05:00
mdx-namespace.test.js
mdx-page.test.js
mdx-plugins.test.js Markdown and MDX configuration rework (#5684) 2023-01-03 17:12:47 -05:00
mdx-plus-react.test.js
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-vite-env-vars.test.js