Quarto litmus test

quarto
Published

July 8, 2023

A quick litmus test for Quarto markdown syntax. See the main documentation for more detailed examples: Quarto Guide.

Basics

Quarto uses Pandoc markdown and the file extension: *.qmd.

Unordered list

  • Computation
    • R
    • Python
    • Observable JS
  • Rendering
    • Scientific markdown (LaTeX equations, citations)
    • Graphviz diagrams
    • Mermaid diagrams
    • Code blocks with syntax formatting and annotation

Ordered lists

You can make a typical numbered list.

  1. Item one
  2. Item two
  3. Item three
    1. Item x
    2. Item y
  1. Apple
  2. Banana
  3. Cherry
    1. Bing Cherry
    2. Other Cherries

Auto-numbered lists that can be interrupted and resumed.

  1. Item one
    1. Item one:one
    2. Item one:two

something else to include

  1. Item two

A definition list

term one
definition of term one
term two
definition of term two

You can also write out checklists…

  • Tasks
    • Tasks
    • Tasks
  • Tasks

Code blocks

x = 1;
<a href="#">foo</a>
.foo { 
  color: "#000";
  width: 100px;
}

Basics

flowchart LR
  A[Hard edge] --> B(Round edge)
  B --> C{Decision}
  C --> D[Result one]
  C --> E[Result two]