Nuxt content markdown validation
Is there a way to validate nuxt content .md files based on the collection schema ?
So far, ive added
So far, ive added
categories: z.array(z.enum(VALID_CATEGORIES)).optional(), to schema of my collection, but when writing the content .md file, i can write whatever i want, i would get no warnings about it and it would still work correctly, even tho im guessing it should not.