Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    how to preview the html file

    General Discussion
    3
    3
    452
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rich engle
      rich engle last edited by

      is there a way to quickly preview what the html code would look like as a web page?

      PeterJones 1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones @rich engle last edited by PeterJones

        @rich-engle ,

        There’s a plugin called Preview HTML, which should do what you want – it creates a new panel in Notepad++ that will show a rendered view of the current HTML document. (Note that the preview window is not a full web browser; don’t expect javascript to run, and don’t expect to be able to browse/navigate your whole website through the preview window; it’s just the current document). When you make a change and save the HTML file, you can hit refresh on that preview window.

        Alternately, you can just use Notepad++'s built-in View > View Current File in … submenu, and choose to load your HTML file in Chrome, Edge, Firefox, or (shudder) IE. This will just tell your chosen browser to use the file://… URL to the file you are editing. When you make a change and save the HTML file in Notepad++, you can then use your browser’s refresh to refresh it.

        artie-finkelstein 1 Reply Last reply Reply Quote 2
        • artie-finkelstein
          artie-finkelstein @PeterJones last edited by

          @peterjones

          There’s also the tab context menu option to Open in Default Viewer for folks that don’t use any of the pre-configured browsers.

          1 Reply Last reply Reply Quote 2
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors