Github page presentations

Publish your slides from a html file.

Miriam Lerma true
2023-05-05

Intro

The goal of this post is to:

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:

https://miriamll.github.io/R_intro/IntroToR_0604.html#1

To pdf

The slides can also be converted to pdf

Install package using install.packages(“renderthis”)

to_pdf(from="https://miriamll.github.io/R_intro/DataWrangling_1205.html")

Further reading