Making presentation slides into a GitHub repository template

Open source GitHub Presentations

One of a series of posts relating to creating presentation templates using {xaringan}, GitHub and R Studio.

Zoë Turner true
06-10-2021

Creating a template GitHub repository

After creating {xaringan} presentations slides for the CDU Data Science Team using the branding from Nottinghamshire Healthcare NHS Foundation Trust, I wanted to share the files used as a template. There are quite a few used in {xaringan} slides because it relies upon CSS and images to give the ‘professional’ look similar to PowerPoint.

One of the new features in GitHub is to make your repository a template:

And the nice thing about this, is when someone selects the template button:

It means they can fork the repository (get a copy) but all of the commit history is removed giving the next person - if they want - a clean repository to work from. People still have the option to clone the repository with the history by following the usual cloning:

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Citation

For attribution, please cite this work as

Turner (2021, June 10). CDU data science team blog: Making presentation slides into a GitHub repository template. Retrieved from https://cdu-data-science-team.github.io/team-blog/posts/2021-06-10-making-a-presentation-repo-github-template/

BibTeX citation

@misc{turner2021making,
  author = {Turner, Zoë},
  title = {CDU data science team blog: Making presentation slides into a GitHub repository template},
  url = {https://cdu-data-science-team.github.io/team-blog/posts/2021-06-10-making-a-presentation-repo-github-template/},
  year = {2021}
}