QU
DOCUMENT

Quarto Publishing System Cheat Sheet

A Quarto reference for project configuration, code cells, output formats, parameterized rendering and reproducible publication.

Version 2026-08-22通用Public reference material; verify the included notice and project terms before redistribution

What this reference covers

Quarto puts prose, code, charts and output configuration into a source document that can be regenerated. This reference covers projects, code cells, formats, parameters, resources, citations and publication checks for R and Python workflows.

Start with one small report

Create a document with a title, explanation and one verifiable code cell. Confirm that it runs in a clean session and produces the target format before adding themes, citations, a table of contents or multiple chapters.

Keep content, computation and output configuration distinct

Store input files, parameters, dependencies and generation time explicitly. Use parameterized documents for multiple scenarios instead of copying source files. The generated PDF or HTML is an output artifact, not the only source of truth.

Maintenance note

Review charts, links, fonts, code output, resource paths, redaction and publication contents. Keep source, dependency notes and generation logs, and remove secrets, caches, internal data and debug files from the delivery directory. Content review date: 2026-08-23.

SAVE TO CLOUD

Save to your cloud drive

Save the complete collection first so files remain together and are easier to access across devices.

Links checked 2026-08-06
Save first, access when you need itOn desktop, scan with the matching cloud-drive app. On mobile, tap the save button.
GUIDE

Quarto reproducible report study guide

Build a minimal source document first, centralize format settings, make inputs and parameters explicit and inspect the final artifact from a clean run.

Before you start

  • Know Markdown headings, lists and code blocks.
  • Prepare a reproducible R or Python example and the corresponding runtime.
  • Prepare a PDF reader and decide the target output format.
02

Quick start

  1. 01

    Create a minimal document

    Start with a title, explanation and one code cell, then confirm the source produces the expected output in a clean session.

  2. 02

    Configure the format

    Choose output format and centralize page, table of contents, code display and resource settings instead of scattering temporary options in prose.

  3. 03

    Fix data and parameters

    Record inputs, parameters and generation time, and use a parameterized document for multiple scenarios rather than copied sources.

  4. 04

    Review the publication artifact

    Open the output and check charts, links, fonts, code, table of contents and resource paths, ensuring no secrets, caches or debug files are delivered.

Usage tips

  • Manage content, computation and output configuration separately to make revisions traceable.
  • Numbers in a report should be regenerated from fixed inputs rather than hand-edited in the output.
  • Check asset paths, font terms and redaction before publishing HTML or PDF.
Troubleshooting and uninstall

Why does a document work locally but fail elsewhere?

Record runtime, key package and format-engine versions, reproduce in a clean environment and check relative paths, fonts and external commands.

Why is a code cell empty?

Check cell type, execution options and cache settings, then run the code separately to confirm that the expected object is created.

FAQ

Frequently asked questions

What content is Quarto suited for?

It suits reproducible reports, course material, research notes, data-analysis articles and multi-format documents from one source.

Why start with a minimal document?

A small document verifies runtime, paths and output before themes, citations, parameters and multi-chapter structure add complexity.

What does a parameterized document solve?

It generates results for different data, dates or scenarios from one text and computation source, reducing drift between copied files.

What should be checked before publication?

Check redaction, charts, fonts, links, current code output and the delivery directory for temporary, internal or credential files.