Template to make slides with R Xaringan. Follow the following steps to start your slides:
- Click on the green button
Use this template
- Click on the dropdown option
Create a new repository
- Have a meaningful name for the repository like
linux_presentation
- Make sure the option
Public
is selected to use github pages - Click on
Create repository from template
- Then wait for a few seconds for it to generate
- You will be then redirected to a newly created repository
- Go to
Settings
next toInsights
- Go to
Pages
under theCode and automation
section - Click on the
None
dropdown underBranch
- Select the
main
branch as option - Leave everything as it is (
/(root)
), and clickSave
- Then refresh the page, and you will see a brown circle option near the commit hash , that indicates a workflow have been triggered to deploy your repository
- Once the circle turns into checkmark, it means it have done executing the workflow
- Refresh the page, and you will see
Environments
in your right-hand side corner - Click on that
Github Pages Active
- Click on
view deployment
Then you should be able to the deployed website of your slides!
Author: Tony Liang
Credits: Stat 406 Slides by @dajmcdon