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

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
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– 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?