Viewing a preview of the index.html file in atom


#1

I am trying to view a preview of my index.html file in atom instead of a browser. Where do I set up the preference for this?


#2

There’s no preference setting. You have to install a package that tells Atom how to open HTML files. The one I use is browser-plus. One thing to note: Atom’s dev tools (View -> Developer -> Toggle developer tools) are for inspecting how Atom works and what Atom’s DOM looks like. However, browser-plus has a toolbar button (the wrench and screwdriver) that opens a dev tools window just for your HTML document.