How to Create Slides in Code with Quarto & Revealjs

quarto
revealjs
slides
Author

Lawrence Wu

Published

July 12, 2024

I learned today how to create slides programatically using Quarto & revealjs. Quarto’s documentation is wonderful and their Revealjs documentation is no different.

This is an example of a slideshow with two slides:

---
title: "Habits"
author: "John Doe"
format: revealjs
---

## Getting up

- Turn off alarm
- Get out of bed

## Going to sleep

- Get in bed
- Count sheep

This is an example of a more complicated slidedeck.

Some benefits: