Git makes code appear in browser instead of rendering
I'm a bit new to PhpStorm and completely new to Git and GitHub - I've cloned a repository to PhpStorm, but the "Open in Browsers" feature in the top right doesn't appear and if I try to open the file manually it just shows the source code in the browser instead of rendering it. This only happens if the project is a GitHub repository.
Please sign in to leave a comment.
Please clarify what type of file you are opening in the browser. Is it supposed to be rendered properly with a browser?
Please share a screenshot of the browser window alongside with the file contents itself. Thank you!