Github page presentations
Publish your slides from a html file.
Intro
The goal of this post is to:
Create a github page for a presentation
For the example, a xaringan presentation is to be deployed as github page for easy access
Repository
You need to have a repository, if you are first time creating a reposotory, here are some instructions
Settings
Go to your repository, select settings
In the right side of the screen select pages
Github actions
Look for build and deployment and in source, move from GitHub Actions to Deploy from branch
Branch
The branch depends where the html file is, here I have it in the master branch
This would depend where you have your html file, but here I have it in the master
Reload
If everything went well Your site is alive at will appear
Diferent slides
To access specific slides from different presentations, add the html name at the end of the site.
For example:
://miriamll.github.io/R_intro/IntroToR_0604.html#1 https
To pdf
The slides can also be converted to pdf
Install package using install.packages(“renderthis”)
library(renderthis)
to_pdf(from="https://miriamll.github.io/R_intro/DataWrangling_1205.html")