New fork because the old project is abandoned;
The URLs are now (htmlpreview -> html-preview):
- https://html-preview.github.io/
- https://html-preview.github.io/?url=https://github.com/bartaz/impress.js/blob/master/index.html
previously:
The most comfortable way to preview HTML files on GitHub is to go to https://htmlpreview.github.io/ or just prepend it to the original URL, i.e.: https://htmlpreview.github.io/?https://github.com/bartaz/impress.js/blob/master/index.html
Answer from niutech on Stack OverflowVideos
New fork because the old project is abandoned;
The URLs are now (htmlpreview -> html-preview):
- https://html-preview.github.io/
- https://html-preview.github.io/?url=https://github.com/bartaz/impress.js/blob/master/index.html
previously:
The most comfortable way to preview HTML files on GitHub is to go to https://htmlpreview.github.io/ or just prepend it to the original URL, i.e.: https://htmlpreview.github.io/?https://github.com/bartaz/impress.js/blob/master/index.html
If you don't want to download an archive you can use GitHub Pages to render this.
- Fork the repository to your account.
- Clone it locally on your machine
- Create a
gh-pagesbranch (if one already exists, remove it and create a new one based offmaster). - Push the branch back to GitHub.
- View the pages at
http://username.github.io/repo`
In code:
git clone [email protected]:username/repo.git
cd repo
git branch gh-pages
# Might need to do this first: git branch -D gh-pages
git push -u origin gh-pages # Push the new branch back to github
Go to http://username.github.io/repo