# Is there a way to display an attached txt file rather than require it be downloaded?

**URL:** https://meta.discourse.org/t/is-there-a-way-to-display-an-attached-txt-file-rather-than-require-it-be-downloaded/311201
**Category:** Support
**Created:** [June 7, 2024, 10:20pm UTC](https://meta.discourse.org/t/is-there-a-way-to-display-an-attached-txt-file-rather-than-require-it-be-downloaded/311201 "2024-06-07T22:20:52Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [June 8, 2024, 7:14am UTC](https://meta.discourse.org/t/is-there-a-way-to-display-an-attached-txt-file-rather-than-require-it-be-downloaded/311201/5 "2024-06-08T07:14:02Z")

</div>

I believe so. If pdf can work for your needs there is this theme component. But says desktop only.

> [@Inline PDF Previews](https://meta.discourse.org/t/inline-pdf-previews/157649):
>
> discourse2Summary Inline PDF Previews is a desktop-only theme component that will allow you to create previews for pdf attachments.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/inline-pdf-previews) (desktop only)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-pdf-previews](https://github.com/discourse/discourse-pdf-previews)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features before after …

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-display-an-attached-txt-file-rather-than-require-it-be-downloaded/311201)._
