👀 Our most exciting product launch yet 🚀 Join us May 8th for Sanity Connect

How to Render Text Type HTML Markup as Code in the Studio

3 replies
Last updated: Jun 14, 2021
Hi everyone!
I'm using a text type to store html markup, is there a way to render it as code in the Studio? For instance, with code formatting, colors, etc?
Jun 14, 2021, 6:02 AM
Jun 14, 2021, 8:52 AM
Sweet! Thanks, I should have looked more carefully 👀
Jun 14, 2021, 2:37 PM
Not to worry! It’s usually not obvious when something’s built in and when reaching out for a plugin is needed. Glad that will work for you! 🙂
Jun 14, 2021, 2:39 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?