Displaying text file artifacts

I save a .txt file as an artifact of one of my CI jobs, but when I try to view it in the web interface,
I see the message:

“The source could not be displayed because it is stored as a job artifact. You can download it instead.”

I would prefer to just view it in the web interface rather than download it, so is there a way to override this?