Structured Content 2022: Join our conference to explore fresh perspectives on content and digital experiences →

How can I implement footnotes?

5 replies
Last updated: Dec 3, 2020

can someone point me in the right direction on how i can implement footnotes?

Dec 3, 2020, 3:58 AM

Hey

user T
– you want to look into portableText marks and annotations. The tutorial on Sanity’s docs is amazing for getting started. Once you’ve followed it through, you should be very comfortable adapting for your use case

Dec 3, 2020, 8:57 AM

I was doing this only last week :-)

Dec 3, 2020, 8:57 AM

The section you want is annotations, but highlight example is helpful too – and then you could look into making a custom serializer on front-end. I use https://github.com/rdunk/sanity-blocks-vue-component for Vue but think the plugins made for other frameworks work similarly

Dec 3, 2020, 9:01 AM
Dec 3, 2020, 12:10 PM

Sanity.io: Get the most out of your content

Sanity.io is a platform to build websites and applications. It comes with great APIs that let you treat content like data. Give your team exactly what they need to edit and publish their content with the customizable Sanity Studio. Get real-time collaboration out of the box. Sanity.io comes with a hosted datastore for JSON documents, query languages like GROQ and GraphQL, CDNs, on-demand asset transformations, presentation agnostic rich text, plugins, and much more.

Don't compromise on developer experience. Join thousands of developers and trusted companies and power your content with Sanity.io. Free to get started, pay-as-you-go on all plans.