What’s new in Quarto 1.4?

Carlos Scheidegger, 2024-02-19

Quarto 1.4

  • Inline Code Syntax
  • Dashboards
  • Shiny for Python
  • Crossrefs
  • Typst

Inline Code Syntax

  • Quarto now offers a unified syntax for inline code in both Python and R

  • The value of 1 + 2 is 3 (written {python} 1 + 2)

  • Note this is slightly different from the usual inline r syntax.

  • The legacy syntax remains supported in knitr.

  • Very simple, but you’ll see this syntax everywhere.

Dashboards

Shiny for Python

Shiny for Python

Crossrefs

Anything goes

Contents of Figures and Tables and Listings can be anything you want: images, text, videos, interactive content, etc. (Demo)


Custom crossreference types

You can define Videos, Diagrams, Supplemental Tables, etc. (Demo)

Typst

  • Typst is a new language for defining high-quality documents. Think “what if LaTeX but not from the 80’s”

  • Just use format: typst (Demo)

Thanks!

Questions? carlos.scheidegger@posit.co