最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

astrojs - Configuring custom components in astrostarlight - Stack Overflow

programmeradmin0浏览0评论

Astro can render custom components instead of default html, when processing mdx files (/en/guides/integrations-guide/mdx/#custom-components-with-imported-mdx).

It is possible to specify which custom component is required directly in the mdx file, as per this answer.

I would like to avoid having to repeat in every single mdx file. Is it possible to configure a custom component once for all, in an astro/starlight project?

发布评论

评论列表(0)

  1. 暂无评论