w6-quarto

Quarto

library(knitr)
kable(mtcars[1:5, ], caption = "a knitr kable")
a knitr kable
mpg cyl disp hp drat wt qsec vs am gear carb
Mazda RX4 21.0 6 160 110 3.90 2.620 16.46 0 1 4 4
Mazda RX4 Wag 21.0 6 160 110 3.90 2.875 17.02 0 1 4 4
Datsun 710 22.8 4 108 93 3.85 2.320 18.61 1 1 4 1
Hornet 4 Drive 21.4 6 258 110 3.08 3.215 19.44 1 0 3 1
Hornet Sportabout 18.7 8 360 175 3.15 3.440 17.02 0 0 3 2
  • unordered list
    • sub-item 1
    • sub-item 2
      • sub-sub-item 1

Here is an inline note.1

Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see Quarto.

Running Code

When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:

1 + 1

You can add options to executable code like this

[1] 4

The echo: false option disables the printing of code (only output is displayed).

Footnotes

  1. Inlines notes are easier to write, since you don’t have to pick an identifier and move down to type the note.↩︎