Discourse send PDF inline

:information_source: Summary Show local served PDFs in the browser
:hammer_and_wrench: Repository Link GitHub - thoka/discourse-send-pdf-inline: Patch discourse do serve PDFs inline
:open_book: Install Guide How to install plugins in Discourse

Features

Uploaded PDFs are opened with “content disposition inline”, which allows them to be displayed in the browser instead of being offered for download.

Configuration

Not necessary.

5 Likes

How is this different / better than the existing Theme Component to do the same?

The plugin directly opens the PDF in the browser, not in an embedded element inside a post :slight_smile:

This was a feature request: Add configuration option to serve local PDF uploads inline

2 Likes

Does local mean S3 and similar plus CDN will fail when using this plugin?

It does not alter the way, S3 serves PDFs.
Side effects would be magic.

3 Likes