How to see an HTML page on Github as a normal rendered HTML page to see preview in browser, without downloading?

后端 未结 10 955
情歌与酒
情歌与酒 2020-11-30 15:55

On http://github.com developer keep the HTML, CSS, JavaScript and images files of the project. How can I see the HTML output in browser?

For example this: https://gi

10条回答
  •  日久生厌
    2020-11-30 16:51

    You can preview HTML code by using following Chrome extension - Run Selected HTML, quite simple to use.

    If you want to select all the code in read mode of GitHub, it is also quite simple, firstly move the mouse cursor to the beginning bracket of in the top, then hold down the Shift key, and next move the cursor the ending bracket of in the bottom.

    Run Selected HTML - Chrome Web store

    https://chrome.google.com/webstore/detail/run-selected-html/eefflcdphpehljcadbmkdpopmbamfefl/

    Step 1: In read mode, select all the body of the html code.

    Step 2: Mouse right click "Run Seleted HTML", then you can see the rendered result in new tab.

    The running result:

提交回复
热议问题