astro/.changeset
Ben Holmes 2675b8633c
Frontmatter injection for MD and MDX (#4176)
* feat: inject vfile data as exports

* feat: add vfile to renderMarkdown output

* feat: add safe astroExports parser to utils

* refactor: expose vite-plugin-utils on astro package

* feat: handle astroExports in mdx

* deps: vfile

* chore: lockfile

* test: astroExports in mdx

* refactor: merge plugin exports into forntmatter

* refactor: astroExports -> astro.frontmatter

* refactor: md astroExports -> astro.frontmatter

* feat: astro.frontmatter vite-plugin-markdown

* chore: remove unused import

* fix: inline safelyGetAstroData in MDX integration

* chore: check that frontmatter export is valid export name

* chore: error log naming

* test: mdx remark frontmatter injection

* fix: inconsistent shiki mod resolution

* fix: add new frontmatter and heading props

* test: remark vdata

* fix: spread astro.data.frontmatter

* test deps: mdast-util-to-string, reading-time

* fix: astro-md test package name

* test: md frontmatter injection

* fix: layouts

* deps: remove vite-plugin-utils export

* fix: package lock

* chore: remove dup import

* chore: changeset

* chore: add comment on safelyGetAstroData source

* deps: move mdast-util-to-string + reading-time to test fixture

* chore: move remark plugins to test fixture

* fix: override plugin frontmatter with user frontmatter

* test: md injected frontmatter overrides

* test: frontmatter injection overrides mdx
2022-08-05 18:55:38 -05:00
..
cold-pens-mate.md Update compiler version (#4175) 2022-08-05 17:41:35 -04:00
config.json Update changesets (#3434) 2022-05-24 11:38:25 -05:00
cool-crabs-trade.md Frontmatter injection for MD and MDX (#4176) 2022-08-05 18:55:38 -05:00
empty-eagles-reply.md Add vite.build.cssTarget support for CSS build (#4155) 2022-08-04 14:39:43 -05:00
empty-sheep-march.md feat(image): Add GIF -> WEBP support (#4139) (#4140) 2022-08-05 17:32:45 -05:00
healthy-meals-wink.md Add getViteConfig helper (#4154) 2022-08-05 14:41:01 -05:00
hip-dancers-move.md [markdown] Harder, better, faster, stronger vite-plugin-markdown (#4137) 2022-08-05 15:43:50 -04:00
hungry-vans-deliver.md Handle edge case in jsx-runtime (#4158) 2022-08-05 10:35:47 -05:00
large-beds-cheer.md Fix duplicate CSS in dev mode (#4157) 2022-08-05 13:36:03 -05:00
long-bees-promise.md Fixes local image resolution in SSR builds on Windows (#4173) 2022-08-05 20:36:30 +00:00
long-toys-rule.md Include CSS when child component uses Astro.glob on page (#4156) 2022-08-05 09:52:12 -04:00
metal-dodos-sin.md Add test for mdx + React usage (#4174) 2022-08-05 17:13:30 -04:00
pretty-bananas-refuse.md improve an error message for getstaticpaths (#4153) 2022-08-04 23:11:58 -07:00
purple-mirrors-smile.md Fix [Object object] in MDX output (#4180) 2022-08-05 17:12:18 -05:00
README.md Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
shaggy-beds-itch.md fix missing newline bug in mdx (#4145) 2022-08-04 23:12:07 -07:00
strong-cars-wash.md Support Fragment in MDX files (#4136) 2022-08-05 17:16:34 -05:00
strong-hotels-cross.md Fix double-escaping of non-highlighted code blocks in Astro-flavored markdown (#4169) 2022-08-05 16:23:16 +02:00

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation