More Quarto

Overview

In this unit, you will learn a few additional features and use cases of Quarto.

Goals

  • Be familiar with Quarto use for presentations.
  • Be aware that one can create websites with Quarto.

Reading

Quarto for presentations

Quarto can also be used to create presentations. Quarto supports multiple presentation formats, including HTML-based presentations using frameworks like Reveal.js, PowerPoint output, and Beamer for PDF presentations. In general, unless you need a specific format, we recommend using revealjs.

To create a presentation, you start with a Quarto document (.qmd) and specify the presentation format in the YAML front matter. For example, to create a Reveal.js presentation, you would use:

---
title: "My Presentation"
author: "Your Name"
format: revealjs
---

You can then add content to the slides in basically the same way as you do for other Quarto documents. This allows you to easily reuse materials.

Quarto for websites

Quarto can also be used to create entire websites (such as the one you are currently on). A Quarto website is a collection of Quarto documents organized into a coherent structure, with navigation and theming options.

To create a Quarto website, you typically start by creating a new Quarto project and specifying the website format in the project configuration file (_quarto.yml). You can then add individual Quarto documents for each page of your website.

Other Quarto products

In addition to documents, presentations, and websites, Quarto also supports other products such as dashboards, books and manuscripts. These products are built on the same principles as documents and websites but come with additional features tailored to their specific use cases.

Summary

In this unit, you learned about some additional features and use cases of Quarto, including creating presentations and websites. Quarto’s versatility makes it a powerful tool for various types of scientific and technical communication.

Further Resources

  • The Presentations section of the Quarto Guide contains a lot of useful information for creating presentations.
  • The Websites section of the Quarto Guide is a rather comprehensive explanation of how to create Quarto based websites.
  • You guessed it - for information on some of the other products you can create with Quarto, check out the appropriate section of the Quarto Guide.

Test yourself

Which presentation format does the unit recommend as a default choice?

The unit recommends using the revealjs format unless you need a specific alternative.

  • False
  • True
  • False
  • False

Which file is used to configure a Quarto website project?

Quarto websites are configured in the _quarto.yml file.

  • False
  • False
  • True
  • False

Which option lists other Quarto products mentioned in the unit?

Quarto supports additional products such as dashboards, books, and manuscripts.

  • False
  • False
  • False
  • True

Practice