Quarto (software)

Quarto
DeveloperPosit PBC
ReleaseJuly 2022; 4 years ago (2022-07)
Operating systemCross-platform
Platformx86-64, ARM64
TypeElectronic publishing, Literate programming
LicenseGNU General Public License
Websitequarto.org
Repository

Quarto is a free and open-source scientific and technical publishing system developed by Posit PBC (formerly RStudio). It is a command-line tool built on Pandoc that converts plain text documents mixed with executable code including Python, R, Julia, and Observable JavaScript into static formats including PDF, HTML, MS Word, PowerPoint, ePub, RevealJS, and MediaWiki.

Quarto is considered the successor to R Markdown, extending support beyond the R ecosystem to support a broader range of data science languages and environments.

History

Quarto was officially announced in July 2022 at the `rstudio::conf(2022)` conference. The release coincided with the corporate rebranding of the developer from RStudio to Posit. This rebranding and the launch of Quarto reflected a strategic shift to support language-agnostic data science workflows, specifically acknowledging the growing adoption of Python alongside R in scientific research.

In April 2026, Posit announced that it was developing Quarto 2, a rewrite of Quarto in Rust, and said it did not expect a public release for at least six months (see § Quarto 2).

Design and implementation

Quarto is implemented as a Command Line Interface (CLI), which allows it to function independently of any specific Integrated Development Environment (IDE). However, extensions are available for IDEs such as RStudio, Visual Studio Code, and Jupyter.

File formats

The native source format for Quarto uses the `.qmd` extension. These files are plain text files that combine Markdown with executable code blocks. Quarto can also render existing Jupyter Notebooks (`.ipynb`) into publication-quality documents without converting them to Markdown first.

Functionality

Quarto is designed to support reproducible research workflows. By integrating narrative and code into a single source file, the software is intended to ensure that analysis and reporting remain consistent.

Examples of uses of Quarto:

Quarto 2

Quarto 2 is a rewrite of Quarto in Rust, developed openly on GitHub under the name q2. Posit announced it in April 2026 as "a full rewrite of Quarto in Rust", released like Quarto 1 under the MIT License. Posit stated that it aims for Quarto 2 to be backward compatible with Quarto 1, while expecting gaps in early versions, and that Quarto 1 would continue to be developed and maintained in parallel until Quarto 2 can replace it.

The main changes described by Posit are a new parser for Quarto's Markdown dialect and a built-in collaborative editor. The parser is based on a formal Tree-sitter grammar. Unlike CommonMark, which treats any input as valid, it reports syntax errors with error codes and source locations, and it keeps fine-grained source maps that link output back to the source text. The collaborative editor is built on the Automerge library and is designed to work both in a web browser and from the command line. The development version also includes a Model Context Protocol server that lets AI agents read and edit documents in collaborative projects, and produces PDF output through Typst. LaTeX output was not yet implemented.

As of November 2026, q2 was distributed as experimental pre-release builds, which its repository described as "not yet ready for production use".

See also

References

  1. 1 2 3 4 Machlis, Sharon (2022-07-27). "What is Quarto? RStudio quietly rolls out next-generation R Markdown". InfoWorld. Retrieved 2024-01-01.
  2. 1 2 "All Formats". Quarto Documentation. Posit PBC. Retrieved 2025-11-29.
  3. ↑ Hofman, N.; Heer, J. (2023). "Living Papers: A Language Toolkit for Augmented Scholarly Communication". Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology. New York, NY, USA: Association for Computing Machinery. pp. 1–13. doi:10.1145/3586183.3606791.
  4. 1 2 3 4 Scheidegger, Carlos (2026-04-06). "What's next: Quarto 2". Posit Open Source. Retrieved 2026-05-22.
  5. 1 2 3 Cook, Joshua J. (2024). "An introduction to Quarto: A Versatile Open-source Tool for Data Reporting and Visualization" (PDF). PharmaSUG 2024 Proceedings. PharmaSUG.
  6. ↑ "Open-access Open Science in Three Acts: Foundations, Practice, and Implementation". Brazilian Administration Review. 22 (3). SciELO. 2025. doi:10.1590/1807-7692bar2025250162.
  7. ↑ Scheidegger, Carlos (2026-05-07). "Quarto 2: Parsing and Source Maps". Posit Open Source. Retrieved 2026-11-07.
  8. ↑ "Quarto Hub MCP server". quarto-dev/q2. GitHub. Retrieved 2026-11-07.
  9. ↑ "Typst format". quarto-dev/q2. GitHub. Retrieved 2026-11-07.
  10. ↑ "quarto-dev/q2: The experimental implementation of Quarto 2 in Rust". GitHub. Retrieved 2026-11-07.