Logo

Sharing documents on the website

A demo article showing the new ways to add PDFs to the website.

You can now upload PDFs directly in Sanity and add them anywhere in an article, page or case study, just like an image. This article shows the three ways a PDF can appear.

1. Link inside text. For example, you can download our sample fact sheet right from this sentence.

2. Preview in page. Longer documents can be read right here. Use the + and − buttons to zoom, or open and download the file.

Unknown block type: pdfBlock

3. Download button. Short documents work well as a simple button.

Unknown block type: pdfBlock

PDFs in columns

PDFs can sit alongside text in two-column layouts, the same as images.

Unknown block type: pdfBlock