πŸ‘€ Our most exciting product launch yet πŸš€ Join us May 8th for Sanity Connect

Content enrichment schemas and snippets

groqd implementation with portable text custom marks

If you're working on integrating portable text with custom markDefs using groqd, the following code snippet could be very useful. It might save you a considerable amount of research time.

Oybek Khalikovic
Go to groqd implementation with portable text custom marks

Portable Text Mock Content

If you're looking to mockup portable text in Storybook without a Sanity backend, this is the schema you're looking for

Go to Portable Text Mock Content

Is your Microcopy unique?

A custom validation to check if your Microcopy documents have unique keys and values for a specific namespace.

William Iommi
Go to Is your Microcopy unique?

One or the other validation

This validation can be used if you have two fields and you require one or the other to be filled

Roboto Studio
Go to One or the other validation

Other contribution categories