How to open .docx .pdf files in GitLab instead of Downloading?

How to open document instead of downloading?

Is this possible in GitLab?