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

The easy solution would be for you to use the literal text inclusion (CTRL+e) like this:

This would be the content of you text file
It's fixed formatted
Good luck