Hi Mecid, thanks for writing down this suggestion!
Do you have example links that are currently triggering a download, where viewing the file should also be an option?
I've tried with GitHub and I can display the raw content of a file without having starting a download.
Please let me know if you have more examples, this would be helpful in refining this suggestion.