Official Astro support
- New
@fumadocs/astrointegration, running the Markdown features of Fumadocs on the Sätteri processor of Astro. It adds the React and MDX integrations unless they are configured. - MDX content renders as one React island with the
componentsof its collection, Fumadocs UI components work in full. Without them, it renders as Astro MDX. - The
wrappercomponent receives the props of<Content />, for providers like i18n. - Islands with
transition:persistkeep their state on navigation, the content of the new page moves into them. - The
collectionsoption defines the content directories of Fumadocs, each can override the options of the integration.pageLoader()andmetaLoader()load them by name into Astro content collections with the schemas of Fumadocs, andtoFumadocsSource()creates the source of Fumadocs. Its pages load their content withpage.data.load(), like other content sources. - The Astro template uses
@fumadocs/astro.