Summary
This post shows you how to embed a GitHub Pages site in PowerPoint by copying its GitHub repository link and loading it in Web Viewer 2.0.
Many interactive explainers, project demos, and course sites publish on GitHub Pages. With the live site on your slide, you can click through a demo during a talk without switching to a browser.
To embed a site:
- Copy the main page address of the site's GitHub repository.
- Add Web Viewer 2.0 to the slide, select www, paste the address into URL, and select Load.
- When Load alternative site instead? appears with the repository's GitHub Pages address, select Load to open the site on your slide.
Web Viewer 2.0 doesn't work for a repository without a GitHub Pages site, a repository whose site moved to its own domain, or a link to a file, folder, release, or issue. If you already have the site's github.io address, enter it in URL instead. The site loads directly, without the Load alternative site instead? step.
Insert Web Viewer 2.0 on your slide
- Select the slide, then open Home > Add-ins.
- Enter Web Viewer 2.0 in the search box (1). Under More search results, select Add beside the matching result (2).
Complete any installation prompts. For other Office versions or organization-managed installation, see the full installation guide.
Load the site
- Open the GitHub repository's main page and copy its address from your browser. This example uses CNN Explainer by the Polo Club of Data Science at Georgia Tech, which shows how a neural network classifies an image.
- Resize the viewer to fit the slide.
- In Web Viewer 2.0, select www, paste the repository address into URL, and select Load.
- When Web Viewer 2.0 shows Load alternative site instead?, select Load to open the site on your slide.
- Use the live site on your slide. In CNN Explainer, select an image to classify it.
- Start Slide Show to present the site.
GitHub links that don't work
Web Viewer 2.0 doesn't work for these GitHub links:
- A repository without a GitHub Pages site, such as https://github.com/octocat/Hello-World. GitHub doesn't allow its own repository pages to load on other sites, so the slide has nothing to show and Web Viewer 2.0 shows We cannot show this website.
- A link to a file, folder, release, or issue, such as https://github.com/poloclub/cnn-explainer/blob/master/README.md. Copy the repository's main page instead, such as https://github.com/poloclub/cnn-explainer.
- A repository whose site moved to its own domain, such as https://github.com/ncase/trust. Its site is now https://ncase.me/trust/, so enter that address in URL instead.
For other sites you can show on a slide, see how to embed a website in PowerPoint.
For help with Web Viewer 2.0, contact support.