Quarto configuration

Quarto configuration defines how source documents become rendered outputs. For most course edits it is context to understand, not a file to modify.

The main configuration file

Projects commonly place _quarto.yml next to their source documents. A website may contain settings like:

project:
  type: website
  output-dir: _site

website:
  title: "Course notes"
  sidebar:
    contents:
      - index.qmd
      - lessons/*.qmd

format:
  html:
    toc: true

Key responsibilities include:

Configuration area Purpose
project.type Website project or document-oriented/default project
project.output-dir Destination for rendered output
project.render Which source documents should be built
website Site title, navigation, search, sidebar, and links
format HTML, notebook, PDF/Typst, and formatting options
resources Files copied into published output
filters Content transformations such as teaching-tools solution handling

Multiple output formats

A notebook/report project can request several formats:

format:
  html:
    toc: true
  ipynb: default
  typst:
    toc: true

The exact formats and output folders are project choices. Update configuration only when the required published product changes, not to make a normal prose or exercise correction.