delucis / astro-auto-import

Auto-import components in Astro projects
84 stars 2 forks source link

Adding MDOC #31

Closed teinett closed 4 months ago

teinett commented 8 months ago

It would be nice to work with MDOC files too. In this case we can use Keystatic CMS admin and easy global import of components.

delucis commented 8 months ago

Does Markdoc support imports? I think you need to configure the Markdoc config file which sets up what tags are available, so is essentially already doing what this plugin does.

delucis commented 4 months ago

Closing this as I believe Markdoc’s existing design of defining components in markdoc.config.mjs already does this and I don’t think astro-auto-import has anything to add here.