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

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

2 Likes