Literate programming

In this week’s workshop, we will explore Markdown and combine code and prose in our first Quarto document.

Lab Logo Introduction

Live Logo Live coding

Review the material that we explored in Week 8’s live-coding session.

Lab Logo Lab

Exercise: Create slides using Quarto

This week’s task is to adapt the code shown in the live-coding session and output the results as slides in either PowerPoint or reveal.js format. The linked requirements.txt file lists all of the packages needed. Remember that to install the packages from requirements.txt into your virtual environment you need to run python -m pip install -r requirements.txt

  1. Review the guidance on outputting to PowerPoint and reveal.js in Quarto
  2. Create a virtual environment
  3. Install the necessary packages
  4. Create a new quarto document called slides.qmd
  5. Preview the document with quarto preview slides.qmd

Lab Logo Further reading