You can use [`addContentEntryType`](https://github.com/withastro/astro/blob/8ca97e107b0ad607898b3ac9cbcf96b65953fe84/packages/astro/src/integrations/hooks.ts#L312-L314) to add custom filetypes to content collections. [`ContentEntryType` interface](https://github.com/withastro/astro/blob/8ca97e107b0ad607898b3ac9cbcf96b65953fe84/packages/astro/src/types/public/content.ts#L106-L129) [Example usage (orga)](https://github.com/orgapp/orgajs/blob/bdfe461c04ff3f90e56490a1bfc125766cc63543/packages/astro/index.js#L32-L45) [Example usage (typst)](https://github.com/OverflowCat/astro-typst/blob/b8178816adb0e04e783d926ef3c70f3491ef5639/src/lib/integration.ts#L57-L89) This would also probably allow https://github.com/shishkin/astro-asciidoc/issues/27.