/xaringan_gh

Example repo to host xaringan on ghpage

Primary LanguageHTML

Xaringan_gh

A example repo to demonstrate how to host xaringan slides on github page

How to use:

  • Create a repo(Or clone this one) with xaringan slide and the following files:
    • xaringan_example.rmd, your xaringan slide
    • index.md, for the homepage of github page, see the index.md for an example.
  • In rstudio, knit the xaringan slides.
  • Push everything to github
  • Setup github pages: Settings - Github Pages- source: master branch, (Optional: choose a jekyll theme)
  • Done, the slides can be viewed online at https://{account}.github.io/{repo_name}/{xaringan_slide_filename}

For example

Update on 191027:

I've recently learned a few more things about xaringan/gh pages/jekyll so it's time to simplify the process to deploy xaringan on gh pages.