s# Markdown Slide Master
This repository contains a template for creating slides and books using Quarto. It is designed to be used as a starting point for your own courses in HES-SO Valais-Wallis style.
The repository includes Continous Integration (CI) configuration for automatic deployment of the book and slides to GitHub Pages. The individual GitHub Pages should then be linked on moodle.
The output generated by this template is available at https://duerrsimon.github.io/hevs-quarto/.
- Create a new repository from this template on GitHub
- Either locally or on Github, edit the
quarto.ymlfile to set the title, author, and other metadata for your course. - Edit the
index.qmdfile to provide an overview of your course. - Edit the
_quarto-book.ymlfile to set the book title, author, and other metadata. Also add your course structure in thechapterssection. - Modify the
base_urlin_variables.yml. it should begithubusername.github.io/reponame/ - Add your course content in the
Week1,Week2, etc. directories, following the structure of the provided example.
The quarto documentation is available at https://quarto.org/docs/.
Note that you can exempt certain parts of the document to show up in the public material by using
::: {.onlyteacher}
Your content here
:::
For course development, you can preview and render the book and slides locally using Quarto. For production use and deployment, it is recommended to use the CI/CD pipeline provided in this repository.
Follow the instructions at https://quarto.org/docs/get-started/ to install Quarto on your system.
quarto preview Week1/slides.md
quarto preview --profile book
quarto render --profile book
The files will be generated in the _book directory. You can then open the index.html file in your browser to view the book.
The slides will be generated in the _slides folder.
Additionally a PDF of the book will be generated.
GitHub Actions will automatically also generate a PDF version of the slides.