🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

How to Create Rich Results Using JSON-LD for a Headless CMS

1 replies
Last updated: Jul 8, 2021
Hi - trying to generate rich results using JSON-LD. The problem I'm facing is that the content from the CMS comes in Block format. I would need to parse it to HTML (no need for classnames). Most importantly I need to keep anchor tags in the parsed result. I see
does that but examples are limited. Anyone with experience on this?
Jul 8, 2021, 2:34 PM
Solved. I thought I needed to add regular html tags to the serializer but it's handled automatically.
Jul 8, 2021, 5:44 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?