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?

Any luck with this? It’s super annoying that .txt homes (and other common file formats) aren’t just displayed and one has to download them to view them.

Some do, like .csv, but I can’t find a list of ones that are.