# Inline PDF Previews

**URL:** https://meta.discourse.org/t/inline-pdf-previews/157649
**Category:** Theme component
**Tags:** official, desktop, pdf-previews
**Created:** [July 13, 2020, 9:18pm UTC](https://meta.discourse.org/t/inline-pdf-previews/157649 "2020-07-13T21:18:10Z")
**Posts on this page:** 1
**Showing post:** 156

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [November 7, 2025, 4:32am UTC](https://meta.discourse.org/t/inline-pdf-previews/157649/156 "2025-11-07T04:32:15Z")

</div>

I’ve addressed the above deprecation notice in my PR in [this feature request](https://meta.discourse.org/t/make-pdfs-open-directly-not-via-download-by-default/388190), which improves the behaviour of the PDF links so they always open in a new tab - this addresses several of the concerns up the topic.

Basically, it means that on mobile there is now one-tap access to the pdf content (before it was multiple taps / wait / etc), as well as in desktop situations where this is desired.

> [@Make PDFs open directly (not via download) by default](https://meta.discourse.org/t/make-pdfs-open-directly-not-via-download-by-default/388190):
>
> Currently, the core handling of PDFs is via a download: [allaboutcats.pdf](https://meta.discourse.org/uploads/short-url/kc7PBLn0YWV50qV2erkiGh7Frkb.pdf) (42.2 KB) While this is very functional, it adds a couple of unnecessary steps for the most common use case: “I want to read this now” - especially on mobile devices. The need to download / save something is very much secondary. Required sometimes, but usually the user just wants to read it and then move on. The [Inline PDF Previews](https://meta.discourse.org/t/inline-pdf-previews/157649) TC addresses this by serving an inline PDF on desktop - and does this with aplomb. Howeve…

It is a bit naughty combining a fix _and_ a new feature, but I needed to modify the detection of mobile to change the behaviour.

---

_[View the full topic](https://meta.discourse.org/t/inline-pdf-previews/157649)._
