delucis / astro-embed

Low-JavaScript embed components for Astro websites
https://astro-embed.netlify.app
MIT License
172 stars 25 forks source link

Drop support for Astro v1 & AFMD, add support for MDX #44

Closed delucis closed 1 year ago

delucis commented 1 year ago

This PR drops support for Astro v1 and with it support for Astro-flavored Markdown, which allowed use of components in .md files.

The migration path is to move to .mdx files (with Astro’s MDX integration). This PR also rewrites the integration package to support MDX closing #34.

Also closes #43 — that bug was due to incompatibility with Astro v2. Astro v1 users should continue to use astro-embed@0.2, while Astro v2 users should use the next release, astro-embed@0.3.

delucis commented 1 year ago

Tests are still failing due to Twitter being a bin fire — their APIs change all the time and after enforcing requirements for API keys, then quickly changed the API keys required. Will look into a better approach in a separate PR.