0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
astro/packages/integrations/markdoc
Matt Kane abf9a89ac1 Implement legacy collections using glob (#11976)
* feat: support pattern arrays with glob

* wip

* feat: emulate legacy content collections

* Fixes

* Lint

* Correctly handle legacy data

* Fix tests

* Switch flag handling

* Fix warnings

* Add layout warning

* Update fixtures

* More tests!

* Handle empty md files

* Lockfile

* Dedupe name

* Handle data ID unslug

* Fix e2e

* Clean build

* Clean builds in tests

* Test fixes

* Fix test

* Fix typegen

* Fix tests

* Fixture updates

* Test updates

* Update changeset

* Test

* Remove wait in test

* Handle race condition

* Lock

* chore: changes from review

* Handle folders without config

* lint

* Fix test

* Update wording for auto-collections

* Delete legacyId

* Sort another fixture

* Rename flag to `legacy.collections`

* Apply suggestions from code review

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

* Changes from review

* Apply suggestions from code review

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

* lockfile

* lock

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-04 16:13:51 +01:00
..
components update formatter config (#11640) 2024-08-08 12:12:50 +02:00
src Parse frontmatter ourselves (#12075) 2024-09-26 14:59:39 +01:00
template Fix: add headings to .mdoc render type (#7111) 2023-05-17 16:35:48 -04:00
test Implement legacy collections using glob (#11976) 2024-10-04 16:13:51 +01:00
CHANGELOG.md [ci] release (beta) (#12072) 2024-10-01 15:46:45 +02:00
package.json Bump vite to beta (#11979) 2024-10-04 20:58:16 +08:00
README.md [ci] format 2023-12-21 20:36:15 +00:00
tsconfig.json config: migrate us to moduleResolution: 'node16' (#8519) 2023-09-13 16:49:22 +02:00

@astrojs/markdoc (experimental) 📝

This Astro integration enables the usage of Markdoc to create components, pages, and content collection entries.

Documentation

Read the @astrojs/markdoc docs

Support

Contributing

This package is maintained by Astro's Core team. You're welcome to submit an issue or PR! These links will help you get started:

License

MIT

Copyright (c) 2023present Astro